Airflow Orchestrator
How to orchestrate pipelines with Airflow
This is an older version of the ZenML documentation. To read and view the latest version please visit this up-to-date URL.
The Airflow orchestrator is an orchestrator flavor provided with the ZenML airflow
integration that uses Airflow to run your pipelines.
When to use it
You should use the Airflow orchestrator if
you're already using Airflow
you want to run your pipelines locally with a more production-ready setup than the local orchestrator
If you're looking to run your pipelines in the cloud, take a look at other orchestrator flavors.
We're currently reworking the Airflow orchestrator to make sure it works not only locally but also with Airflow instances deployed on cloud infrastructure.
How to deploy it
The Airflow orchestrator works without any additional infrastructure setup.
How to use it
To use the Airflow orchestrator, we need:
The ZenML
airflow
integration installed. If you haven't done so, run
We can then register the orchestrator and use it in our active stack:
Once the orchestrator is part of the active stack, we can provision all required local resources by running:
This command will start up an Airflow server on your local machine that's running in the same Python environment that you used to provision it. When it is finished, it will print a username and password which you can use to login to the Airflow UI here.
You can now run any ZenML pipeline using the Airflow orchestrator:
A concrete example of using the Airflow orchestrator can be found here.
For more information and a full list of configurable attributes of the Airflow orchestrator, check out the API Docs.
Last updated