airflow
Apache Airflow is a tool to express and execute workflows as directed acyclic graphs (DAGs). It includes utilities to schedule tasks, monitor task progress and handle task dependencies.
About this chart
Apache Airflow packaged by Bitnami
Apache Airflow is a tool to express and execute workflows as directed acyclic graphs (DAGs). It includes utilities to schedule tasks, monitor task progress and handle task dependencies.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/airflow
Introduction
This chart bootstraps an Apache Airflow deployment on a Kubernetes cluster using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
Installing the Chart
To install the chart with the release name my-release:
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/airflow
These commands deploy Airflow on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template | "" |
clusterDomain | Kubernetes Cluster Domain | cluster.local |
extraDeploy | Extra objects to deploy (evaluated as a template) | [] |
commonLabels | Add labels to all the deployed resources | {} |
commonAnnotations | Add annotations to all the deployed resources | {} |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the the deployment(s)/statefulset(s) | ["sleep"] |
diagnosticMode.args | Args to override all containers in the the deployment(s)/statefulset(s) | ["infinity"] |
Airflow common parameters
| Name | Description | Value |
|---|---|---|
auth.username | Username to access web UI | user |
auth.password | Password to access web UI | "" |
auth.fernetKey | Fernet key to secure connections | "" |
auth.secretKey | Secret key to run your flask app | "" |
auth.existingSecret | Name of an existing secret to use for Airflow credentials | "" |
executor | Airflow executor. Allowed values: SequentialExecutor, LocalExecutor, CeleryExecutor, KubernetesExecutor, CeleryKubernetesExecutor and LocalKubernetesExecutor | CeleryExecutor |
loadExamples | Switch to load some Airflow examples | false |
configuration | Specify content for Airflow config file (auto-generated based on other env. vars otherwise) | "" |
existingConfigmap | Name of an existing ConfigMap with the Airflow config file | "" |
dags.existingConfigmap | Name of an existing ConfigMap with all the DAGs files you want to load in Airflow | "" |
dags.image.registry | Init container load-dags image registry | docker.io |
dags.image.repository | Init container load-dags image repository | bitnami/bitnami-shell |
dags.image.tag | Init container load-dags image tag (immutable tags are recommended) | 11-debian-11-r45 |
dags.image.digest | Init container load-dags image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
dags.image.pullPolicy | Init container load-dags image pull policy | IfNotPresent |
dags.image.pullSecrets | Init container load-dags image pull secrets | [] |
extraEnvVars | Add extra environment variables for all the Airflow pods | [] |
extraEnvVarsCM | ConfigMap with extra environment variables for all the Airflow pods | "" |
extraEnvVarsSecret | Secret with extra environment variables for all the Airflow pods | "" |
extraEnvVarsSecrets | List of secrets with extra environment variables for all the Airflow pods | [] |
sidecars | Add additional sidecar containers to all the Airflow pods | [] |
initContainers | Add additional init containers to all the Airflow pods | [] |
extraVolumeMounts | Optionally specify extra list of additional volumeMounts for all the Airflow pods | [] |
extraVolumes | Optionally specify extra list of additional volumes for the all the Airflow pods | [] |
Airflow web parameters
| Name | Description | Value |
|---|---|---|
web.image.registry | Airflow image registry | docker.io |
web.image.repository | Airflow image repository | bitnami/airflow |
web.image.tag | Airflow image tag (immutable tags are recommended) | 2.4.2-debian-11-r0 |
web.image.digest | Airflow image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
web.image.pullPolicy | Airflow image pull policy | IfNotPresent |
web.image.pullSecrets | Airflow image pull secrets | [] |
web.image.debug | Enable image debug mode | false |
web.baseUrl | URL used to access to Airflow web ui | "" |
web.existingConfigmap | Name of an existing config map containing the Airflow web config file | "" |
web.command | Override default container command (useful when using custom images) | [] |
web.args | Override default container args (useful when using custom images) | [] |
web.extraEnvVars | Array with extra environment variables to add Airflow web pods | [] |
web.extraEnvVarsCM | ConfigMap containing extra environment variables for Airflow web pods | "" |
web.extraEnvVarsSecret | Secret containing extra environment variables (in case of sensitive data) for Airflow web pods | "" |
web.extraEnvVarsSecrets | List of secrets with extra environment variables for Airflow web pods | [] |
web.containerPorts.http | Airflow web HTTP container port | 8080 |
web.replicaCount | Number of Airflow web replicas | 1 |
| `web.livenessProbe.enabl |
Deploy airflow with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has airflow on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartairflow is pinned at v14.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply