Best Practices
This section describes best practices for building reliable workflows in Kestra.
Flow best practices
This section describes how to design your workflows for optimal performance.
Version Control
This section describes best practices for Version Control with Git in Kestra.
Managing pip package dependencies
When you have python commands or python scripts to execute in the task, you need to install pip dependencies required to execute your python code. If you use python docker image, and install pip package dependencies as part of your beforeCommands, these packages will be downloaded and installed each time you run your task. This can be pretty time consuming and will lead to increased duration for your executions. This page describes some of the best ways to manage pip package dependencies for your flows.
Naming conventions
This page describes common naming conventions to keep your flows and tasks well-organized and consistent.
Pebble Templating with Namespace Files
You cannot directly use pebble templating inside the namespace files as the pebble templates would not be rendered. You can achieve these in broadly two ways: