Helm Chart for Apache Airflow¶
Kubernetes 1.20+ cluster
PV provisioner support in the underlying infrastructure (optionally)
Supported Airflow version:
Supported database backend:
CeleryExecutorprovided by KEDA
PostgreSQL and PgBouncer with a battle-tested configuration
StatsD/Prometheus metrics for Airflow
Prometheus metrics for PgBouncer
Automatic database migration after a new deployment
Administrator account creation during deployment
Kerberos secure configuration
One-command deployment for any type of executor. You don’t need to provide other services e.g. Redis/Database to test the Airflow.
Installing the Chart¶
To install this chart using Helm 3, run the following commands:
helm repo add apache-airflow https://airflow.apache.org helm upgrade --install airflow apache-airflow/airflow --namespace airflow --create-namespace
The command deploys Airflow on the Kubernetes cluster in the default configuration. The Parameters reference section lists the parameters that can be configured during installation.
List all releases using
Upgrading the Chart¶
To upgrade the chart with the release name
helm upgrade airflow apache-airflow/airflow --namespace airflow
To upgrade to a new version of the chart, run
helm repo update first.
Uninstalling the Chart¶
To uninstall/delete the
helm delete airflow --namespace airflow
The command removes all the Kubernetes components associated with the chart and deletes the release.
Installing the Chart with ArgoCD¶
When installing the chart using ArgoCD, you MUST set the two following values, or your application will not start as the migrations will not be run:
createUserJob.useHelmHooks: false migrateDatabaseJob.useHelmHooks: false