Create, schedule, and monitor
your workflows with Airflow.
Six common scenarios, from the first installation to the integration with the rest of the platform. Each one covers: what the chart already provides, what changes in the cluster, the values file commented line by line, and a step-by-step with verification.
The tdp-airflow chart brings up Apache Airflow with the KubernetesExecutor, which runs each task in its own pod, an embedded PostgreSQL for the metadata and persistent volumes for the DAGs, the Python files that describe each workflow. The database, the storage, the access and the integrations are your decisions, and each scenario below deals with one of them. For the architecture, see Apache Airflow - Concepts.
Your environment
If you fill in your environment details here, the examples and commands on the page use what you entered. The namespace, the release name and the values file are your choices, not the chart.
Scenarios
- 1 · First contact
- 2 · External database
- 3 · DAGs and volumes
- 4 · Publish at a URL
- 5 · LDAP login
- 6 · Integrate
Install with the chart defaults, open the interface from your machine and sign in as admin.
You want to see Airflow working before deciding on database, volumes or access. You will install without a values file, open the interface from your own machine and sign in with the administrator user that the chart creates. What comes up is the API Server, which serves the interface and the API; the Scheduler, which triggers the tasks, each in its own pod; the DAG Processor, which reads the DAG files; the Triggerer, which handles the deferred tasks; and a PostgreSQL for the metadata. The other scenarios start from this state.
KubernetesExecutor: the Scheduler creates one pod per task, from the chart pod template.
Embedded PostgreSQL (postgresql.enabled), not recommended for production. Scenario 2 replaces it with an external PostgreSQL.
DAGs PVC and Triggerer logs PVC on, in the cluster default StorageClass. Task logs PVC off.
Internal Service (ClusterIP) of the API Server, with no Ingress. Login with the admin user and a temporary password, the same as the TDP charts.
America/Sao_Paulo, in config.core.default_timezone.
What comes up in the namespace with the chart defaults
- Who accesses. Without external exposure, each person opens a tunnel from their own machine to the API Server Service with kubectl port-forward. Chart default:
no external exposure (port-forward). - API Server Service. The internal address of the Airflow web interface and API in the cluster. The name is always the release name followed by -api-server. Chart default:
ClusterIP, with the ports from apiServer.service.ports. (tdp-airflow.apiServer.service.type · tdp-airflow.apiServer.service.ports) - API Server. Serves the Airflow web interface and REST API. The interface login is the admin user, created by the chart at installation. Chart default:
admin user with a temporary password; LDAP off. (tdp-airflow.webserver.defaultUser.password) - Scheduler. Follows the DAGs and, with the KubernetesExecutor, creates a pod for each task from the chart pod template. Chart default:
KubernetesExecutor executor. (tdp-airflow.executor) - DAG Processor. Parses the DAG files from the DAGs PVC, mounted at /opt/airflow/dags, and writes the DAGs to the metadata database.
- Task pods. With the KubernetesExecutor, each task runs in its own pod, which ends with it. The base resources of these pods come from workers.resources. Chart default:
KubernetesExecutor. (tdp-airflow.workers.resources) - Triggerer. Runs the deferred tasks, the ones that wait for an event. Its logs live in a PVC of their own. Chart default:
logs PVC on. (tdp-airflow.triggerer.persistence.enabled) - Triggerer PVC. Volume for the Triggerer logs. It stays in the cluster after helm uninstall. Chart default:
on, size in triggerer.persistence.size. (tdp-airflow.triggerer.persistence) - DAGs PVC. Volume where the DAG files live, mounted at /opt/airflow/dags by the DAG Processor, the Triggerer and the task pods. It requires a default StorageClass in the cluster, or the one set in dags.persistence.storageClassName. helm uninstall deletes this PVC, unless it is a PVC of your own, set in dags.persistence.existingClaim. Chart default:
on, ReadWriteOnce, size in dags.persistence.size. (tdp-airflow.dags.persistence) - Logs PVC. Shared volume for the task logs. Chart default:
off, size in logs.persistence.size. (tdp-airflow.logs.persistence.enabled) - Embedded PostgreSQL. The Airflow metadata database, in a StatefulSet of the release itself. It is not recommended for production. Its volume stays in the cluster after helm uninstall. Chart default:
on. (tdp-airflow.postgresql.enabled)
Check the TDP license
The chart requires a valid TDP license installed in the cluster.
kubectl get platformlicenses -A
It worked when
VALID. If it does not, or if it appears with another state, install or renew it before continuing (License Configuration).Create the pull Secret in the namespace
The Airflow images come from the Tecnisys registry, with your credential, read from the tdp-registry Secret in the release namespace.
kubectl -n <NAMESPACE> create secret docker-registry tdp-registry \
--docker-server=registry.tecnisys.com.br \
--docker-username=<REGISTRY_USERNAME> --docker-password=<REGISTRY_CLI_SECRET>
It worked when
kubectl -n <NAMESPACE> get secret tdp-registry
The Secret appears in the namespace.
If the namespace does not exist yet
Create it first, with kubectl create namespace <NAMESPACE>, and repeat the command. The registry user and CLI secret are in Prerequisites.
Install with the defaults
Without a values file, the chart comes up exactly as in the figure above.
The cluster needs a default StorageClass, because the DAGs and Triggerer PVCs come on. Without --version, Helm installs the latest published version of the chart. The commands on this page pin the version of this documentation.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-airflow \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace --timeout 10m
Since release 3.0.1, Airflow is compatible with Red Hat OpenShift 4.19+. On OpenShift, add --set tdp-airflow.securityContexts.containers.runAsNonRoot=true, required by the Security Context Constraints:
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-airflow \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace --timeout 10m \
--set tdp-airflow.securityContexts.containers.runAsNonRoot=true
It worked when
kubectl -n <NAMESPACE> get pods
The API Server, Scheduler, DAG Processor, Triggerer and PostgreSQL pods reach Running, and the database migration and admin user creation Jobs finish.
If a pod does not start
The namespace events, in time order, show the reason:
kubectl -n <NAMESPACE> get events --sort-by=.lastTimestamp
Then look for the message in When something goes wrong.
Open the interface from your machine
Without external exposure, kubectl opens a tunnel from your machine to the API Server Service.
kubectl -n <NAMESPACE> port-forward svc/<RELEASE_NAME>-api-server 8080:8080
It worked when
http://localhost:8080 and accepts the admin user with the temporary password. The password, and how to change it before any real use, are in Security - Airflow.With the defaults, the DAG list starts empty: the example DAGs come off. To bring your DAGs to Airflow, see scenario 3.
Replace the embedded PostgreSQL with a PostgreSQL of your own, with the database and the user created by the chart.
The metadata database holds the Airflow state: DAGs, runs, connections, variables and users. The chart already brings one on its own: an embedded PostgreSQL, in the same release, practical for tests and not recommended for production. You only need to change it when you want to use a PostgreSQL that already exists, such as the one from the tdp-postgresql chart.
To do that, you turn off the embedded one, tell where the external PostgreSQL is and turn on the chart helpers. The helpers are two Jobs that run before the installation: one checks that the PostgreSQL responds. The other creates the Airflow database and user, with a generated password, and writes the connection to a Secret.
Embedded PostgreSQL (postgresql.enabled), with the superuser password in postgresql.auth.postgresPassword equal to data.metadataConnection.pass. External database helpers off (TDP-Settings.externalDatabase.enabled).
The external PostgreSQL reachable from the cluster and, in the Airflow namespace, the Secret with its administrator password, in the postgres-password key. With the tdp-postgresql chart, this Secret is tdp-postgresql-auth, the Airflow chart default.
What changes in the namespace with each database
Where the metadata lives
- Who accesses. Without external exposure, each person opens a tunnel from their own machine to the API Server Service with kubectl port-forward. Chart default:
no external exposure (port-forward). - API Server Service. The internal address of the Airflow web interface and API in the cluster. The name is always the release name followed by -api-server. Chart default:
ClusterIP, with the ports from apiServer.service.ports. (tdp-airflow.apiServer.service.type · tdp-airflow.apiServer.service.ports) - API Server. Serves the Airflow web interface and REST API. The interface login is the admin user, created by the chart at installation. Chart default:
admin user with a temporary password; LDAP off. (tdp-airflow.webserver.defaultUser.password) - Scheduler. Follows the DAGs and, with the KubernetesExecutor, creates a pod for each task from the chart pod template. Chart default:
KubernetesExecutor executor. (tdp-airflow.executor) - DAG Processor. Parses the DAG files from the DAGs PVC, mounted at /opt/airflow/dags, and writes the DAGs to the metadata database.
- Task pods. With the KubernetesExecutor, each task runs in its own pod, which ends with it. The base resources of these pods come from workers.resources. Chart default:
KubernetesExecutor. (tdp-airflow.workers.resources) - Triggerer. Runs the deferred tasks, the ones that wait for an event. Its logs live in a PVC of their own. Chart default:
logs PVC on. (tdp-airflow.triggerer.persistence.enabled) - Triggerer PVC. Volume for the Triggerer logs. It stays in the cluster after helm uninstall. Chart default:
on, size in triggerer.persistence.size. (tdp-airflow.triggerer.persistence) - DAGs PVC. Volume where the DAG files live, mounted at /opt/airflow/dags by the DAG Processor, the Triggerer and the task pods. It requires a default StorageClass in the cluster, or the one set in dags.persistence.storageClassName. helm uninstall deletes this PVC, unless it is a PVC of your own, set in dags.persistence.existingClaim. Chart default:
on, ReadWriteOnce, size in dags.persistence.size. (tdp-airflow.dags.persistence) - Logs PVC. Shared volume for the task logs. Chart default:
off, size in logs.persistence.size. (tdp-airflow.logs.persistence.enabled) - Embedded PostgreSQL. The Airflow metadata database, in a StatefulSet of the release itself. It is not recommended for production. Its volume stays in the cluster after helm uninstall. Chart default:
on. (tdp-airflow.postgresql.enabled)
Where the metadata lives: Embedded PostgreSQL (default)
- Who accesses. Without external exposure, each person opens a tunnel from their own machine to the API Server Service with kubectl port-forward. Chart default:
no external exposure (port-forward). - API Server Service. The internal address of the Airflow web interface and API in the cluster. The name is always the release name followed by -api-server. Chart default:
ClusterIP, with the ports from apiServer.service.ports. (tdp-airflow.apiServer.service.type · tdp-airflow.apiServer.service.ports) - API Server. Serves the Airflow web interface and REST API. The interface login is the admin user, created by the chart at installation. Chart default:
admin user with a temporary password; LDAP off. (tdp-airflow.webserver.defaultUser.password) - Scheduler. Follows the DAGs and, with the KubernetesExecutor, creates a pod for each task from the chart pod template. Chart default:
KubernetesExecutor executor. (tdp-airflow.executor) - DAG Processor. Parses the DAG files from the DAGs PVC, mounted at /opt/airflow/dags, and writes the DAGs to the metadata database.
- Task pods. With the KubernetesExecutor, each task runs in its own pod, which ends with it. The base resources of these pods come from workers.resources. Chart default:
KubernetesExecutor. (tdp-airflow.workers.resources) - Triggerer. Runs the deferred tasks, the ones that wait for an event. Its logs live in a PVC of their own. Chart default:
logs PVC on. (tdp-airflow.triggerer.persistence.enabled) - Triggerer PVC. Volume for the Triggerer logs. It stays in the cluster after helm uninstall. Chart default:
on, size in triggerer.persistence.size. (tdp-airflow.triggerer.persistence) - DAGs PVC. Volume where the DAG files live, mounted at /opt/airflow/dags by the DAG Processor, the Triggerer and the task pods. It requires a default StorageClass in the cluster, or the one set in dags.persistence.storageClassName. helm uninstall deletes this PVC, unless it is a PVC of your own, set in dags.persistence.existingClaim. Chart default:
on, ReadWriteOnce, size in dags.persistence.size. (tdp-airflow.dags.persistence) - Logs PVC. Shared volume for the task logs. Chart default:
off, size in logs.persistence.size. (tdp-airflow.logs.persistence.enabled) - Embedded PostgreSQL. The Airflow metadata database, in a StatefulSet of the release itself. It is not recommended for production. Its volume stays in the cluster after helm uninstall. Chart default:
on. (tdp-airflow.postgresql.enabled)
Where the metadata lives: External PostgreSQL
- Who accesses. Without external exposure, each person opens a tunnel from their own machine to the API Server Service with kubectl port-forward. Chart default:
no external exposure (port-forward). - API Server Service. The internal address of the Airflow web interface and API in the cluster. The name is always the release name followed by -api-server. Chart default:
ClusterIP, with the ports from apiServer.service.ports. (tdp-airflow.apiServer.service.type · tdp-airflow.apiServer.service.ports) - API Server. Serves the Airflow web interface and REST API. The interface login is the admin user, created by the chart at installation. Chart default:
admin user with a temporary password; LDAP off. (tdp-airflow.webserver.defaultUser.password) - Scheduler. Follows the DAGs and, with the KubernetesExecutor, creates a pod for each task from the chart pod template. Chart default:
KubernetesExecutor executor. (tdp-airflow.executor) - DAG Processor. Parses the DAG files from the DAGs PVC, mounted at /opt/airflow/dags, and writes the DAGs to the metadata database.
- Task pods. With the KubernetesExecutor, each task runs in its own pod, which ends with it. The base resources of these pods come from workers.resources. Chart default:
KubernetesExecutor. (tdp-airflow.workers.resources) - Triggerer. Runs the deferred tasks, the ones that wait for an event. Its logs live in a PVC of their own. Chart default:
logs PVC on. (tdp-airflow.triggerer.persistence.enabled) - Triggerer PVC. Volume for the Triggerer logs. It stays in the cluster after helm uninstall. Chart default:
on, size in triggerer.persistence.size. (tdp-airflow.triggerer.persistence) - DAGs PVC. Volume where the DAG files live, mounted at /opt/airflow/dags by the DAG Processor, the Triggerer and the task pods. It requires a default StorageClass in the cluster, or the one set in dags.persistence.storageClassName. helm uninstall deletes this PVC, unless it is a PVC of your own, set in dags.persistence.existingClaim. Chart default:
on, ReadWriteOnce, size in dags.persistence.size. (tdp-airflow.dags.persistence) - Logs PVC. Shared volume for the task logs. Chart default:
off, size in logs.persistence.size. (tdp-airflow.logs.persistence.enabled) - Database connection Secret. Created by a chart Job before the installation: the Job creates the database and the user in the external PostgreSQL and writes the connection URL to this Secret. Chart default:
does not exist (only with the external database). (tdp-airflow.data.metadataSecretName) - External PostgreSQL. A PostgreSQL outside the release, for example the one from the tdp-postgresql chart. The administrator password comes from the Secret set in externalSecret.releaseName. Chart default:
off (embedded PostgreSQL). (TDP-Settings.externalDatabase.enabled: true)
Embedded PostgreSQL. This is what the chart brings up without a values file: a PostgreSQL in the release itself, not recommended for production.
Embedded PostgreSQL: Best suited when Airflow is being tested or evaluated.
What is adjusted here is the password: the one for the postgres superuser and the one for the metadata connection must be the same. The default is a temporary password. To change it, write the block below in a private values file.
1tdp-airflow:2postgresql:3 enabled: true4 auth:5 postgresPassword: "<PASSWORD>"6data:7 metadataConnection:8 pass: "<PASSWORD>"
The chart is an umbrella: everything that belongs to Airflow lives under the subchart key. Without this prefix, Helm does not apply the block.
- Chart prefix (linha 1). The chart is an umbrella: everything that belongs to Airflow lives under the subchart key. Without this prefix, Helm does not apply the block.
- Embedded PostgreSQL (linha 3). On by default. Not recommended for production.
- Superuser password (linha 5). Password of the postgres user of the embedded database.
- Connection password (linha 8). The same password as line 5: it is what Airflow uses to connect to the embedded database.
External PostgreSQL. The metadata goes to a PostgreSQL outside the release, and the chart Jobs prepare the Airflow database and user in it.
External PostgreSQL: Best suited when Airflow is going to production, or the platform already has a PostgreSQL, such as the one from the tdp-postgresql chart.
Three blocks change together. In tdp-airflow, the embedded one is turned off and data says where the PostgreSQL is and in which Secret the connection lives. In TDP-Settings.externalDatabase, the helpers are turned on: without them, the Jobs that prepare the database are not created. The TDP-Settings blocks live at the root of the values file, outside the chart prefix.
1TDP-Settings:2externalDatabase:3 enabled: true4 recreate: false5 externalSecret:6 releaseName: "tdp-postgresql-auth"78tdp-airflow:9postgresql:10 enabled: false1112data:13 metadataSecretName: "<RELEASE_NAME>-airflow-database"14 metadataConnection:15 user: airflow16 pass: ""17 protocol: postgresql18 host: "<POSTGRESQL_SERVICE>.<NAMESPACE>.svc.cluster.local"19 port: 543220 db: airflow21 sslmode: disable
Turn on the Jobs that, before the installation and each update, check the PostgreSQL and create the database and the user. Required when the embedded one is off.
- External database helpers (linha 3). Turn on the Jobs that, before the installation and each update, check the PostgreSQL and create the database and the user. Required when the embedded one is off.
- recreate (linha 4). With true, the Job deletes and recreates the database and the user at each installation or update, and the metadata is lost. Keep false.
- Administrator Secret (linha 6). Secret, in the Airflow namespace, with the PostgreSQL administrator password in the postgres-password key. tdp-postgresql-auth is the one from the TDP PostgreSQL chart.
- Embedded off (linha 10). The release stops creating its own PostgreSQL.
- Connection Secret (linha 13). The chart Job writes the connection URL, with the password it generates for the user, always to the <RELEASE_NAME>-airflow-database Secret: the name here must be exactly that. With this field set, Airflow reads the connection from the Secret.
- Empty pass (linha 16). The user password is generated by the Job and lives in the Secret from line 13.
- Address (linha 18). The Service of the external PostgreSQL in the cluster. With the tdp-postgresql chart, the Service is <RELEASE_NAME>-tdp-postgresql, or just the release name when it already contains tdp-postgresql. Replace the Service and the namespace with yours.
- Database (linha 20). Name of the database the Job creates. If it is postgres, the Job creates nothing.
Check the administrator Secret
The chart Jobs read the administrator password from this Secret, in the Airflow namespace.
kubectl -n <NAMESPACE> get secret tdp-postgresql-auth
Write the values file
Replace the Service and the namespace with those of your PostgreSQL.
If you already have an Airflow values file, add the blocks to it.
Apply to the release
The same command installs and updates. The database Jobs run before Airflow comes up.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-airflow \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace --timeout 10m \
-f <VALUES_FILE>
It worked when
kubectl -n <NAMESPACE> get secret <RELEASE_NAME>-airflow-database
kubectl -n <NAMESPACE> get pods
The connection Secret exists and the Airflow pods reach Running, with no PostgreSQL pod in the namespace.
If the database creation Job fails
The failed Job stays in the cluster, with its pod and log:
kubectl -n <NAMESPACE> get job <RELEASE_NAME>-create-db
kubectl -n <NAMESPACE> logs job/<RELEASE_NAME>-create-db
After fixing the cause (administrator Secret, address or PostgreSQL password), run the same helm upgrade --install again: it replaces the failed Job, with no need to delete it by hand.
To compare the embedded and the external PostgreSQL across the TDP charts in general, see General Configuration.
Bring the DAG files to Airflow, through the PVC or a Git repository, and adjust the volume sizes.
Two things are decided here: how the DAG files arrive in the /opt/airflow/dags folder, read by the DAG Processor, the Triggerer and the task pods, and the size of the persistent volumes (PVCs) that the chart creates.
The chart already decides the volumes on its own: the DAGs PVC and the Triggerer logs PVC come on, in the cluster default StorageClass, with the size from dags.persistence.size and triggerer.persistence.size. The task logs PVC comes off. These sizes do not grow by themselves: when your use requires more space, you are the one who adjusts them. The DAGs are up to you: with the defaults, Airflow comes up with no DAGs at all, because the example DAGs come off. They arrive by one of two paths: copied to the DAGs PVC or synchronized from a Git repository by a git-sync container.
You want to choose how the DAGs arrive and give the volumes the size your use requires.
PVC on (dags.persistence.enabled), mounted at /opt/airflow/dags by the DAG Processor, the Triggerer and the task pods, with the size in dags.persistence.size, the StorageClass in dags.persistence.storageClassName (empty uses the cluster default) and the ReadWriteOnce access mode, in dags.persistence.accessMode.
git-sync off (dags.gitSync.enabled). With the DAGs PVC on, the chart does not create the git-sync container.
Logs PVC on, with the size in triggerer.persistence.size.
PVC off (logs.persistence.enabled), with the size in logs.persistence.size for when you turn it on.
Where the DAGs come from and where the logs live
How the DAGs arrive
- Who accesses. Without external exposure, each person opens a tunnel from their own machine to the API Server Service with kubectl port-forward. Chart default:
no external exposure (port-forward). - API Server Service. The internal address of the Airflow web interface and API in the cluster. The name is always the release name followed by -api-server. Chart default:
ClusterIP, with the ports from apiServer.service.ports. (tdp-airflow.apiServer.service.type · tdp-airflow.apiServer.service.ports) - API Server. Serves the Airflow web interface and REST API. The interface login is the admin user, created by the chart at installation. Chart default:
admin user with a temporary password; LDAP off. (tdp-airflow.webserver.defaultUser.password) - Scheduler. Follows the DAGs and, with the KubernetesExecutor, creates a pod for each task from the chart pod template. Chart default:
KubernetesExecutor executor. (tdp-airflow.executor) - DAG Processor. Parses the DAG files from the DAGs PVC, mounted at /opt/airflow/dags, and writes the DAGs to the metadata database.
- Task pods. With the KubernetesExecutor, each task runs in its own pod, which ends with it. The base resources of these pods come from workers.resources. Chart default:
KubernetesExecutor. (tdp-airflow.workers.resources) - Triggerer. Runs the deferred tasks, the ones that wait for an event. Its logs live in a PVC of their own. Chart default:
logs PVC on. (tdp-airflow.triggerer.persistence.enabled) - Triggerer PVC. Volume for the Triggerer logs. It stays in the cluster after helm uninstall. Chart default:
on, size in triggerer.persistence.size. (tdp-airflow.triggerer.persistence) - DAGs PVC. Volume where the DAG files live, mounted at /opt/airflow/dags by the DAG Processor, the Triggerer and the task pods. It requires a default StorageClass in the cluster, or the one set in dags.persistence.storageClassName. helm uninstall deletes this PVC, unless it is a PVC of your own, set in dags.persistence.existingClaim. Chart default:
on, ReadWriteOnce, size in dags.persistence.size. (tdp-airflow.dags.persistence) - Logs PVC. Shared volume for the task logs. Chart default:
off, size in logs.persistence.size. (tdp-airflow.logs.persistence.enabled) - Embedded PostgreSQL. The Airflow metadata database, in a StatefulSet of the release itself. It is not recommended for production. Its volume stays in the cluster after helm uninstall. Chart default:
on. (tdp-airflow.postgresql.enabled)
How the DAGs arrive: Copy to the PVC (default)
- Who accesses. Without external exposure, each person opens a tunnel from their own machine to the API Server Service with kubectl port-forward. Chart default:
no external exposure (port-forward). - API Server Service. The internal address of the Airflow web interface and API in the cluster. The name is always the release name followed by -api-server. Chart default:
ClusterIP, with the ports from apiServer.service.ports. (tdp-airflow.apiServer.service.type · tdp-airflow.apiServer.service.ports) - API Server. Serves the Airflow web interface and REST API. The interface login is the admin user, created by the chart at installation. Chart default:
admin user with a temporary password; LDAP off. (tdp-airflow.webserver.defaultUser.password) - Scheduler. Follows the DAGs and, with the KubernetesExecutor, creates a pod for each task from the chart pod template. Chart default:
KubernetesExecutor executor. (tdp-airflow.executor) - DAG Processor. Parses the DAG files from the DAGs PVC, mounted at /opt/airflow/dags, and writes the DAGs to the metadata database.
- Task pods. With the KubernetesExecutor, each task runs in its own pod, which ends with it. The base resources of these pods come from workers.resources. Chart default:
KubernetesExecutor. (tdp-airflow.workers.resources) - Triggerer. Runs the deferred tasks, the ones that wait for an event. Its logs live in a PVC of their own. Chart default:
logs PVC on. (tdp-airflow.triggerer.persistence.enabled) - Triggerer PVC. Volume for the Triggerer logs. It stays in the cluster after helm uninstall. Chart default:
on, size in triggerer.persistence.size. (tdp-airflow.triggerer.persistence) - DAGs PVC. Volume where the DAG files live, mounted at /opt/airflow/dags by the DAG Processor, the Triggerer and the task pods. It requires a default StorageClass in the cluster, or the one set in dags.persistence.storageClassName. helm uninstall deletes this PVC, unless it is a PVC of your own, set in dags.persistence.existingClaim. Chart default:
on, ReadWriteOnce, size in dags.persistence.size. (tdp-airflow.dags.persistence) - Logs PVC. Shared volume for the task logs. Chart default:
off, size in logs.persistence.size. (tdp-airflow.logs.persistence.enabled) - Embedded PostgreSQL. The Airflow metadata database, in a StatefulSet of the release itself. It is not recommended for production. Its volume stays in the cluster after helm uninstall. Chart default:
on. (tdp-airflow.postgresql.enabled)
How the DAGs arrive: Git repository (git-sync)
- Who accesses. Without external exposure, each person opens a tunnel from their own machine to the API Server Service with kubectl port-forward. Chart default:
no external exposure (port-forward). - API Server Service. The internal address of the Airflow web interface and API in the cluster. The name is always the release name followed by -api-server. Chart default:
ClusterIP, with the ports from apiServer.service.ports. (tdp-airflow.apiServer.service.type · tdp-airflow.apiServer.service.ports) - API Server. Serves the Airflow web interface and REST API. The interface login is the admin user, created by the chart at installation. Chart default:
admin user with a temporary password; LDAP off. (tdp-airflow.webserver.defaultUser.password) - Scheduler. Follows the DAGs and, with the KubernetesExecutor, creates a pod for each task from the chart pod template. Chart default:
KubernetesExecutor executor. (tdp-airflow.executor) - DAG Processor. Parses the DAG files that git-sync clones into /opt/airflow/dags and writes the DAGs to the metadata database.
- Task pods. With the KubernetesExecutor, each task runs in its own pod, which ends with it. The base resources of these pods come from workers.resources. Chart default:
KubernetesExecutor. (tdp-airflow.workers.resources) - Triggerer. Runs the deferred tasks, the ones that wait for an event. Its logs live in a PVC of their own. Chart default:
logs PVC on. (tdp-airflow.triggerer.persistence.enabled) - Triggerer PVC. Volume for the Triggerer logs. It stays in the cluster after helm uninstall. Chart default:
on, size in triggerer.persistence.size. (tdp-airflow.triggerer.persistence) - git-sync container. Clones the DAGs repository into each pod that needs it and fetches changes periodically. In the pods, the DAGs are read-only: changes are made in Git. Chart default:
off. (tdp-airflow.dags.gitSync.enabled: true · tdp-airflow.dags.persistence.enabled: false) - DAGs repository. The Git repository with the DAG files. Over HTTPS, a private repository uses the credentialsSecret Secret; over SSH, the sshKeySecret one. Chart default:
none. (tdp-airflow.dags.gitSync.repo) - Logs PVC. Shared volume for the task logs. Chart default:
off, size in logs.persistence.size. (tdp-airflow.logs.persistence.enabled) - Embedded PostgreSQL. The Airflow metadata database, in a StatefulSet of the release itself. It is not recommended for production. Its volume stays in the cluster after helm uninstall. Chart default:
on. (tdp-airflow.postgresql.enabled)
Copy to the PVC. This is the default path: you copy the files to the DAGs PVC through the DAG Processor pod, which loads the new files within a few minutes.
Copy to the PVC: Best suited when the Airflow pods can run on the same node, or the StorageClass offers ReadWriteMany, and the DAG files are also kept somewhere else.
The PVC is ReadWriteOnce by default, so all the pods that mount it must run on the same node. In a cluster with several nodes, use ReadWriteMany in dags.persistence.accessMode, with a StorageClass (dags.persistence.storageClassName) that supports that mode, or choose the Git repository above.
helm uninstall deletes the <RELEASE_NAME>-dags PVC with the DAGs in it: the chart does not keep it. Also keep the DAG files somewhere else, such as a Git repository, or use a PVC created by you, which the chart never deletes.
1tdp-airflow:2dags:3 persistence:4 existingClaim: <PVC_NAME>
The DAGs live under the subchart key, like the rest of the Airflow configuration.
- Chart prefix (linha 1). The DAGs live under the subchart key, like the rest of the Airflow configuration.
- Own PVC (linha 4). The name of a PVC you created in the Airflow namespace. The chart starts using it for the DAGs and never deletes it.
Copy the DAGs through the DAG Processor pod
The files go to /opt/airflow/dags, through the dag-processor container.
Replace my_dag.py and ./dags/ with your file or your local folder.
POD=$(kubectl -n <NAMESPACE> get pod -l component=dag-processor,release=<RELEASE_NAME> \
-o jsonpath='{.items[0].metadata.name}')
# One file, or the contents of a local folder
kubectl -n <NAMESPACE> cp my_dag.py "$POD":/opt/airflow/dags/my_dag.py -c dag-processor
kubectl -n <NAMESPACE> cp ./dags/. "$POD":/opt/airflow/dags/ -c dag-processor
kubectl -n <NAMESPACE> exec "$POD" -c dag-processor -- ls /opt/airflow/dags
It worked when
The DAG Processor loads the new files within a few minutes. Your DAGs appear in the first list. The second shows the files that did not load and the error of each one:
kubectl -n <NAMESPACE> exec "$POD" -c dag-processor -- airflow dags list
kubectl -n <NAMESPACE> exec "$POD" -c dag-processor -- airflow dags list-import-errors
To remove a DAG, delete the fileOpcional
The same way, through the DAG Processor pod.
kubectl -n <NAMESPACE> exec "$POD" -c dag-processor -- rm /opt/airflow/dags/my_dag.py
Git repository. A git-sync container clones the repository into each pod that needs the DAGs and fetches changes periodically, at the dags.gitSync.period interval. In the pods, the DAGs are read-only: changes are made in Git.
Git repository: Best suited when the DAGs are already versioned in a Git repository, or the cluster has several nodes without a StorageClass with ReadWriteMany.
The DAGs PVC must be turned off: with dags.persistence.enabled on, the chart does not create git-sync and the DAGs never arrive.
1tdp-airflow:2dags:3 persistence:4 enabled: false5 gitSync:6 enabled: true7 repo: <DAGS_REPO_URL>8 branch: main9 ref: main10 subPath: dags
Required with git-sync: with the PVC on, the chart does not create the git-sync container and the DAGs never arrive.
- DAGs PVC off (linha 4). Required with git-sync: with the PVC on, the chart does not create the git-sync container and the DAGs never arrive.
- git-sync on (linha 6). Each pod that needs the DAGs gets a container that clones the repository and fetches changes at the period interval.
- Repository (linha 7). The HTTPS URL of the Git repository with the DAGs. For an SSH URL, see the private repository step.
- Branch (linha 8). The repository branch.
- ref (linha 9). The branch, tag or commit that git-sync uses.
- DAGs folder (linha 10). The DAGs folder inside the repository. Empty for the root.
Private repository: create the credentials SecretOpcional
Only for a private repository. Over HTTPS, the four Secret keys are required.
kubectl -n <NAMESPACE> create secret generic airflow-git-credentials \
--from-literal=GITSYNC_USERNAME=<GIT_USERNAME> --from-literal=GITSYNC_PASSWORD=<GIT_TOKEN> \
--from-literal=GIT_SYNC_USERNAME=<GIT_USERNAME> --from-literal=GIT_SYNC_PASSWORD=<GIT_TOKEN>
Then add credentialsSecret: airflow-git-credentials under gitSync in the values file. For an SSH URL, use gitSync.sshKeySecret instead, with a Secret that has the gitSshKey key.
Apply to the release
The same command installs and updates. The pods come up with the git-sync container.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-airflow \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace --timeout 10m \
-f <VALUES_FILE>
It worked when
The size of the volumes
This block decides the size of the volumes and goes in the same values file as the path chosen above. It is the chart example, commented line by line. The example values are the defaults themselves: replace them with the size you need. The DAGs PVC size only applies on the PVC path.
1tdp-airflow:2dags:3 persistence:4 size: 5Gi5triggerer:6 persistence:7 size: 5Gi8logs:9 persistence:10 enabled: false11 size: 5Gi
The volumes live under the subchart key, like the rest of the Airflow configuration.
- Chart prefix (linha 1). The volumes live under the subchart key, like the rest of the Airflow configuration.
- DAGs (linha 4). Size of the PVC where the DAG files live.
- Triggerer (linha 7). Size of the Triggerer logs PVC.
- Task logs (linha 10). true creates a PVC for the task logs, with the size on the next line.
Apply to the release
The same command installs and updates.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-airflow \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace --timeout 10m \
-f <VALUES_FILE>
It worked when
kubectl -n <NAMESPACE> get pvc
The PVCs appear as Bound.
If a PVC stays in Pending
There is no default StorageClass in the cluster, or the StorageClass you set does not exist. See When something goes wrong.
Replace the port-forward with a fixed address, through Ingress or Gateway API.
So far the Airflow interface is only reached by port-forward, a tunnel that each person opens from their own machine with kubectl. For the team to arrive at a fixed address, Airflow needs to be published outside the cluster. The chart does this in two ways, neither on by default, and only one of them can be on at a time. Through Ingress, the classic Kubernetes mechanism, which on OpenShift the router publishes as a Route. Or through Gateway API, the newer standard, where the chart creates the HTTPRoute that forwards the traffic to Airflow and, if you ask for it, the Gateway itself. In both chart examples, the published address is also given to Airflow, in the same file.
None. Ingress and Gateway API off. The API Server Service is internal (ClusterIP).
admin user with a temporary password. Before publishing, change the password or turn on LDAP (scenario 5).
With Ingress, the chart creates an Ingress with your hostname. In the last step, you find the address through the external IP of the Ingress controller. With port-forward or Gateway API, the choice changes nothing.
With Ingress, the OpenShift router publishes the chart Ingress as a Route, and in the figure the resource appears as Route. In the last step, you check the address with kubectl get route. With port-forward or Gateway API, the choice changes nothing.
How the team reaches Airflow
How Airflow is reached
- Who accesses. The team reaches the Airflow interface through a fixed hostname, published by the Ingress. Chart default:
no external exposure (port-forward). - API Server Service. The internal address of the Airflow web interface and API in the cluster. The name is always the release name followed by -api-server. Chart default:
ClusterIP, with the ports from apiServer.service.ports. (tdp-airflow.apiServer.service.type · tdp-airflow.apiServer.service.ports) - API Server. Serves the Airflow web interface and REST API. The interface login is the admin user, created by the chart at installation. Chart default:
admin user with a temporary password; LDAP off. (tdp-airflow.webserver.defaultUser.password) - Scheduler. Follows the DAGs and, with the KubernetesExecutor, creates a pod for each task from the chart pod template. Chart default:
KubernetesExecutor executor. (tdp-airflow.executor) - DAG Processor. Parses the DAG files from the DAGs PVC, mounted at /opt/airflow/dags, and writes the DAGs to the metadata database.
- Task pods. With the KubernetesExecutor, each task runs in its own pod, which ends with it. The base resources of these pods come from workers.resources. Chart default:
KubernetesExecutor. (tdp-airflow.workers.resources) - Triggerer. Runs the deferred tasks, the ones that wait for an event. Its logs live in a PVC of their own. Chart default:
logs PVC on. (tdp-airflow.triggerer.persistence.enabled) - Triggerer PVC. Volume for the Triggerer logs. It stays in the cluster after helm uninstall. Chart default:
on, size in triggerer.persistence.size. (tdp-airflow.triggerer.persistence) - DAGs PVC. Volume where the DAG files live, mounted at /opt/airflow/dags by the DAG Processor, the Triggerer and the task pods. It requires a default StorageClass in the cluster, or the one set in dags.persistence.storageClassName. helm uninstall deletes this PVC, unless it is a PVC of your own, set in dags.persistence.existingClaim. Chart default:
on, ReadWriteOnce, size in dags.persistence.size. (tdp-airflow.dags.persistence) - Logs PVC. Shared volume for the task logs. Chart default:
off, size in logs.persistence.size. (tdp-airflow.logs.persistence.enabled) - Embedded PostgreSQL. The Airflow metadata database, in a StatefulSet of the release itself. It is not recommended for production. Its volume stays in the cluster after helm uninstall. Chart default:
on. (tdp-airflow.postgresql.enabled)
How Airflow is reached: port-forward (default)
- Who accesses. Without external exposure, each person opens a tunnel from their own machine to the API Server Service with kubectl port-forward. Chart default:
no external exposure (port-forward). - API Server Service. The internal address of the Airflow web interface and API in the cluster. The name is always the release name followed by -api-server. Chart default:
ClusterIP, with the ports from apiServer.service.ports. (tdp-airflow.apiServer.service.type · tdp-airflow.apiServer.service.ports) - API Server. Serves the Airflow web interface and REST API. The interface login is the admin user, created by the chart at installation. Chart default:
admin user with a temporary password; LDAP off. (tdp-airflow.webserver.defaultUser.password) - Scheduler. Follows the DAGs and, with the KubernetesExecutor, creates a pod for each task from the chart pod template. Chart default:
KubernetesExecutor executor. (tdp-airflow.executor) - DAG Processor. Parses the DAG files from the DAGs PVC, mounted at /opt/airflow/dags, and writes the DAGs to the metadata database.
- Task pods. With the KubernetesExecutor, each task runs in its own pod, which ends with it. The base resources of these pods come from workers.resources. Chart default:
KubernetesExecutor. (tdp-airflow.workers.resources) - Triggerer. Runs the deferred tasks, the ones that wait for an event. Its logs live in a PVC of their own. Chart default:
logs PVC on. (tdp-airflow.triggerer.persistence.enabled) - Triggerer PVC. Volume for the Triggerer logs. It stays in the cluster after helm uninstall. Chart default:
on, size in triggerer.persistence.size. (tdp-airflow.triggerer.persistence) - DAGs PVC. Volume where the DAG files live, mounted at /opt/airflow/dags by the DAG Processor, the Triggerer and the task pods. It requires a default StorageClass in the cluster, or the one set in dags.persistence.storageClassName. helm uninstall deletes this PVC, unless it is a PVC of your own, set in dags.persistence.existingClaim. Chart default:
on, ReadWriteOnce, size in dags.persistence.size. (tdp-airflow.dags.persistence) - Logs PVC. Shared volume for the task logs. Chart default:
off, size in logs.persistence.size. (tdp-airflow.logs.persistence.enabled) - Embedded PostgreSQL. The Airflow metadata database, in a StatefulSet of the release itself. It is not recommended for production. Its volume stays in the cluster after helm uninstall. Chart default:
on. (tdp-airflow.postgresql.enabled)
How Airflow is reached: Ingress
- Who accesses. The team reaches the Airflow interface through a fixed hostname, published by the Ingress. Chart default:
no external exposure (port-forward). - API Server Service. The internal address of the Airflow web interface and API in the cluster. The name is always the release name followed by -api-server. Chart default:
ClusterIP, with the ports from apiServer.service.ports. (tdp-airflow.apiServer.service.type · tdp-airflow.apiServer.service.ports) - Ingress. The Ingress is the Kubernetes resource that publishes a Service at a hostname, through the cluster Ingress controller. Chart default:
off. (TDP-Settings.gateway.ingress.enabled: true) - API Server. Serves the Airflow web interface and REST API. The interface login is the admin user, created by the chart at installation. Chart default:
admin user with a temporary password; LDAP off. (tdp-airflow.webserver.defaultUser.password) - Scheduler. Follows the DAGs and, with the KubernetesExecutor, creates a pod for each task from the chart pod template. Chart default:
KubernetesExecutor executor. (tdp-airflow.executor) - DAG Processor. Parses the DAG files from the DAGs PVC, mounted at /opt/airflow/dags, and writes the DAGs to the metadata database.
- Task pods. With the KubernetesExecutor, each task runs in its own pod, which ends with it. The base resources of these pods come from workers.resources. Chart default:
KubernetesExecutor. (tdp-airflow.workers.resources) - Triggerer. Runs the deferred tasks, the ones that wait for an event. Its logs live in a PVC of their own. Chart default:
logs PVC on. (tdp-airflow.triggerer.persistence.enabled) - Triggerer PVC. Volume for the Triggerer logs. It stays in the cluster after helm uninstall. Chart default:
on, size in triggerer.persistence.size. (tdp-airflow.triggerer.persistence) - DAGs PVC. Volume where the DAG files live, mounted at /opt/airflow/dags by the DAG Processor, the Triggerer and the task pods. It requires a default StorageClass in the cluster, or the one set in dags.persistence.storageClassName. helm uninstall deletes this PVC, unless it is a PVC of your own, set in dags.persistence.existingClaim. Chart default:
on, ReadWriteOnce, size in dags.persistence.size. (tdp-airflow.dags.persistence) - Logs PVC. Shared volume for the task logs. Chart default:
off, size in logs.persistence.size. (tdp-airflow.logs.persistence.enabled) - Embedded PostgreSQL. The Airflow metadata database, in a StatefulSet of the release itself. It is not recommended for production. Its volume stays in the cluster after helm uninstall. Chart default:
on. (tdp-airflow.postgresql.enabled)
How Airflow is reached: Gateway API
- Who accesses. The team reaches the Airflow interface through a fixed hostname, published by the Gateway + HTTPRoute. Chart default:
no external exposure (port-forward). - API Server Service. The internal address of the Airflow web interface and API in the cluster. The name is always the release name followed by -api-server. Chart default:
ClusterIP, with the ports from apiServer.service.ports. (tdp-airflow.apiServer.service.type · tdp-airflow.apiServer.service.ports) - Gateway and HTTPRoute (Gateway API). With the Gateway API on, the chart creates the HTTPRoute that forwards the Airflow hostname to the Service and, if you ask for it, the Gateway itself, in the release namespace. Chart default:
off. (TDP-Settings.gateway.gatewayApi.enabled: true · gatewayApi.gateway.enabled) - API Server. Serves the Airflow web interface and REST API. The interface login is the admin user, created by the chart at installation. Chart default:
admin user with a temporary password; LDAP off. (tdp-airflow.webserver.defaultUser.password) - Scheduler. Follows the DAGs and, with the KubernetesExecutor, creates a pod for each task from the chart pod template. Chart default:
KubernetesExecutor executor. (tdp-airflow.executor) - DAG Processor. Parses the DAG files from the DAGs PVC, mounted at /opt/airflow/dags, and writes the DAGs to the metadata database.
- Task pods. With the KubernetesExecutor, each task runs in its own pod, which ends with it. The base resources of these pods come from workers.resources. Chart default:
KubernetesExecutor. (tdp-airflow.workers.resources) - Triggerer. Runs the deferred tasks, the ones that wait for an event. Its logs live in a PVC of their own. Chart default:
logs PVC on. (tdp-airflow.triggerer.persistence.enabled) - Triggerer PVC. Volume for the Triggerer logs. It stays in the cluster after helm uninstall. Chart default:
on, size in triggerer.persistence.size. (tdp-airflow.triggerer.persistence) - DAGs PVC. Volume where the DAG files live, mounted at /opt/airflow/dags by the DAG Processor, the Triggerer and the task pods. It requires a default StorageClass in the cluster, or the one set in dags.persistence.storageClassName. helm uninstall deletes this PVC, unless it is a PVC of your own, set in dags.persistence.existingClaim. Chart default:
on, ReadWriteOnce, size in dags.persistence.size. (tdp-airflow.dags.persistence) - Logs PVC. Shared volume for the task logs. Chart default:
off, size in logs.persistence.size. (tdp-airflow.logs.persistence.enabled) - Embedded PostgreSQL. The Airflow metadata database, in a StatefulSet of the release itself. It is not recommended for production. Its volume stays in the cluster after helm uninstall. Chart default:
on. (tdp-airflow.postgresql.enabled)
port-forward. Nothing is created in the cluster. kubectl connects a port on your machine to the API Server Service port, as long as the command is running.
port-forward: Best suited when only you access it, for tests and maintenance. For a team, choose Ingress or Gateway API above.
Ingress. The chart creates an Ingress with the hostname and the class of your cluster, pointing to the API Server Service. On OpenShift, the router publishes the Ingress as a Route.
Ingress: Best suited when the cluster already has an Ingress controller (nginx, openshift-default or another) or runs on OpenShift.
The ingress and TDP-Settings blocks live at the root of the values file. The published address is given to Airflow under the chart prefix.
1ingress:2ingressClassName: <INGRESS_CLASS>3annotations: {}4hosts:5 - host: <AIRFLOW_HOSTNAME>6 paths:7 - path: /8 pathType: Prefix9tls: []1011TDP-Settings:12gateway:13 ingress:14 enabled: true15 gatewayApi:16 enabled: false1718tdp-airflow:19config:20 webserver:21 base_url: "http://<AIRFLOW_HOSTNAME>"22 x_forwarded_proto: "http"23 x_forwarded_host: "<AIRFLOW_HOSTNAME>"24 x_forwarded_port: "<SERVICE_PORT>"25 api:26 cors_enabled: "True"27 cors_allow_origin: "*"
nginx, openshift-default or the class of your cluster.
- Ingress class (linha 2). nginx, openshift-default or the class of your cluster.
- Hostname (linha 5). On Kubernetes, something like airflow.tdp.local. On OpenShift, airflow-<NAMESPACE>.apps.<CLUSTER_DOMAIN>.
- tls (linha 9). Empty: Airflow is published over HTTP. With tls filled in, the address becomes HTTPS.
- TDP-Settings (linha 11). This is where the chart decides to render the Ingress. It lives at the root of the file, not under tdp-airflow.
- Mutually exclusive (linha 15). Ingress and Gateway API cannot be on at the same time.
- Published address (linha 21). base_url and the x_forwarded_* headers tell Airflow the hostname, protocol and port through which it is reached.
- API CORS (linha 26). Allows calls to the API from other origins.
Add the blocks to the values file
Replace the class and hostname markers with the values of your cluster.
ingress and TDP-Settings live at the root of the file, next to the tdp-airflow prefix, not inside it.
Apply to the release
The Ingress is created in the same namespace as Airflow.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-airflow \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace --timeout 10m \
-f <VALUES_FILE>
Make the hostname reach the cluster
The hostname must resolve to the Ingress controller.
Point the hostname, in DNS or in /etc/hosts, to the external IP of the Ingress controller. With the nginx controller, the IP comes from this command:
kubectl get svc -A -l app.kubernetes.io/name=ingress-nginx \
-o jsonpath='{.items[0].status.loadBalancer.ingress[0].ip}'
The OpenShift router publishes the Ingress as a Route. Check the published address:
kubectl -n <NAMESPACE> get route
Without DNS, add it to the /etc/hosts of your machine:
echo "<CONTROLLER_IP> <AIRFLOW_HOSTNAME>" | sudo tee -a /etc/hosts
It worked when
http://<AIRFLOW_HOSTNAME>.Gateway API. The chart creates the HTTPRoute that forwards the Airflow hostname to the API Server Service and, with gatewayApi.gateway.enabled, also the Gateway, with the GatewayClass and the listener you set.
Gateway API: Best suited when the cluster has a Gateway API controller, with its GatewayClass.
The TLS, when there is any, terminates at the Gateway listener, not at the HTTPRoute. The gatewayApi and TDP-Settings blocks live at the root of the values file.
1gatewayApi:2gatewayClassName: <GATEWAY_CLASS>3gateway:4 enabled: true5 name: <GATEWAY_NAME>6 listeners:7 - name: web8 port: 80009 protocol: HTTP10 hostname: <AIRFLOW_HOSTNAME>11parentRefs:12 - name: <GATEWAY_NAME>13airflow:14 enabled: true15 hostnames:16 - <AIRFLOW_HOSTNAME>17 rules:18 - matches:19 - path:20 type: PathPrefix21 value: /22 backendRefs:23 - name: ""24 port: 80802526TDP-Settings:27gateway:28 ingress:29 enabled: false30 gatewayApi:31 enabled: true3233tdp-airflow:34config:35 webserver:36 base_url: "http://<AIRFLOW_HOSTNAME>"37 x_forwarded_proto: "http"38 x_forwarded_host: "<AIRFLOW_HOSTNAME>"39 x_forwarded_port: "<SERVICE_PORT>"40 api:41 cors_enabled: "True"42 cors_allow_origin: "*"
The class of the Gateway controller of your cluster.
- GatewayClass (linha 2). The class of the Gateway controller of your cluster.
- Chart Gateway (linha 4). true makes the chart create the Gateway in the release namespace. Off, the HTTPRoute links to a Gateway that already exists, set in parentRefs.
- Listener (linha 6). Where the Gateway receives traffic: name, port, protocol and hostname.
- parentRefs (linha 11). The Gateway the HTTPRoute links to.
- backendRefs (linha 23). The empty name is filled in by the chart with the API Server Service.
- TDP-Settings (linha 27). Turns on the HTTPRoute and turns off the Ingress.
- Published address (linha 35). base_url and the x_forwarded_* headers tell Airflow the hostname, protocol and port through which it is reached.
Add the blocks to the values file
Replace the class, hostname and Gateway markers with the values of your cluster.
gatewayApi and TDP-Settings live at the root of the file, next to the tdp-airflow prefix, not inside it.
Apply to the release
The HTTPRoute is created in the same namespace as Airflow.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-airflow \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace --timeout 10m \
-f <VALUES_FILE>
Make the hostname reach the cluster
The hostname must resolve to the Gateway.
Point the hostname, in DNS or in /etc/hosts, to the external IP of the Gateway, which is the one of the LoadBalancer Service of your Gateway controller.
Without DNS, add it to the /etc/hosts of your machine:
echo "<CONTROLLER_IP> <AIRFLOW_HOSTNAME>" | sudo tee -a /etc/hosts
It worked when
http://<AIRFLOW_HOSTNAME>.Make the interface validate user and password against the company directory.
By default, the Airflow interface has a single user, admin, created by the chart with a temporary password. When Airflow starts being used by the team, you want each person to sign in with their account from the company directory (LDAP or Active Directory). The chart does this with the Flask-AppBuilder LDAP, the module that handles login in the Airflow interface. There are two pieces: a Secret with the bind account password, the technical account Airflow uses to query the directory, created before the installation. And a configuration block with the server, the search base and the authorized group.
LDAP off (ldap.enabled). Login with the admin user from webserver.defaultUser.password.
The ldap.apiServerConfig block goes to the API Server, and the bind password enters through extraEnv, read from a Secret.
The login path, with and without LDAP
Who signs in to the interface
- Who accesses. Without external exposure, each person opens a tunnel from their own machine to the API Server Service with kubectl port-forward. Chart default:
no external exposure (port-forward). - API Server Service. The internal address of the Airflow web interface and API in the cluster. The name is always the release name followed by -api-server. Chart default:
ClusterIP, with the ports from apiServer.service.ports. (tdp-airflow.apiServer.service.type · tdp-airflow.apiServer.service.ports) - API Server. Serves the Airflow web interface and REST API. The interface login is the admin user, created by the chart at installation. Chart default:
admin user with a temporary password; LDAP off. (tdp-airflow.webserver.defaultUser.password) - Scheduler. Follows the DAGs and, with the KubernetesExecutor, creates a pod for each task from the chart pod template. Chart default:
KubernetesExecutor executor. (tdp-airflow.executor) - DAG Processor. Parses the DAG files from the DAGs PVC, mounted at /opt/airflow/dags, and writes the DAGs to the metadata database.
- Task pods. With the KubernetesExecutor, each task runs in its own pod, which ends with it. The base resources of these pods come from workers.resources. Chart default:
KubernetesExecutor. (tdp-airflow.workers.resources) - Triggerer. Runs the deferred tasks, the ones that wait for an event. Its logs live in a PVC of their own. Chart default:
logs PVC on. (tdp-airflow.triggerer.persistence.enabled) - Triggerer PVC. Volume for the Triggerer logs. It stays in the cluster after helm uninstall. Chart default:
on, size in triggerer.persistence.size. (tdp-airflow.triggerer.persistence) - DAGs PVC. Volume where the DAG files live, mounted at /opt/airflow/dags by the DAG Processor, the Triggerer and the task pods. It requires a default StorageClass in the cluster, or the one set in dags.persistence.storageClassName. helm uninstall deletes this PVC, unless it is a PVC of your own, set in dags.persistence.existingClaim. Chart default:
on, ReadWriteOnce, size in dags.persistence.size. (tdp-airflow.dags.persistence) - Logs PVC. Shared volume for the task logs. Chart default:
off, size in logs.persistence.size. (tdp-airflow.logs.persistence.enabled) - Embedded PostgreSQL. The Airflow metadata database, in a StatefulSet of the release itself. It is not recommended for production. Its volume stays in the cluster after helm uninstall. Chart default:
on. (tdp-airflow.postgresql.enabled)
Who signs in to the interface: Only the chart admin (default)
- Who accesses. Without external exposure, each person opens a tunnel from their own machine to the API Server Service with kubectl port-forward. Chart default:
no external exposure (port-forward). - API Server Service. The internal address of the Airflow web interface and API in the cluster. The name is always the release name followed by -api-server. Chart default:
ClusterIP, with the ports from apiServer.service.ports. (tdp-airflow.apiServer.service.type · tdp-airflow.apiServer.service.ports) - API Server. Serves the Airflow web interface and REST API. The interface login is the admin user, created by the chart at installation. Chart default:
admin user with a temporary password; LDAP off. (tdp-airflow.webserver.defaultUser.password) - Scheduler. Follows the DAGs and, with the KubernetesExecutor, creates a pod for each task from the chart pod template. Chart default:
KubernetesExecutor executor. (tdp-airflow.executor) - DAG Processor. Parses the DAG files from the DAGs PVC, mounted at /opt/airflow/dags, and writes the DAGs to the metadata database.
- Task pods. With the KubernetesExecutor, each task runs in its own pod, which ends with it. The base resources of these pods come from workers.resources. Chart default:
KubernetesExecutor. (tdp-airflow.workers.resources) - Triggerer. Runs the deferred tasks, the ones that wait for an event. Its logs live in a PVC of their own. Chart default:
logs PVC on. (tdp-airflow.triggerer.persistence.enabled) - Triggerer PVC. Volume for the Triggerer logs. It stays in the cluster after helm uninstall. Chart default:
on, size in triggerer.persistence.size. (tdp-airflow.triggerer.persistence) - DAGs PVC. Volume where the DAG files live, mounted at /opt/airflow/dags by the DAG Processor, the Triggerer and the task pods. It requires a default StorageClass in the cluster, or the one set in dags.persistence.storageClassName. helm uninstall deletes this PVC, unless it is a PVC of your own, set in dags.persistence.existingClaim. Chart default:
on, ReadWriteOnce, size in dags.persistence.size. (tdp-airflow.dags.persistence) - Logs PVC. Shared volume for the task logs. Chart default:
off, size in logs.persistence.size. (tdp-airflow.logs.persistence.enabled) - Embedded PostgreSQL. The Airflow metadata database, in a StatefulSet of the release itself. It is not recommended for production. Its volume stays in the cluster after helm uninstall. Chart default:
on. (tdp-airflow.postgresql.enabled)
Who signs in to the interface: LDAP users
- Who accesses. Without external exposure, each person opens a tunnel from their own machine to the API Server Service with kubectl port-forward. Chart default:
no external exposure (port-forward). - API Server Service. The internal address of the Airflow web interface and API in the cluster. The name is always the release name followed by -api-server. Chart default:
ClusterIP, with the ports from apiServer.service.ports. (tdp-airflow.apiServer.service.type · tdp-airflow.apiServer.service.ports) - API Server. Serves the Airflow web interface and REST API. With LDAP on, the interface login is validated against the company directory. Chart default:
admin user with a temporary password; LDAP off. (tdp-airflow.ldap.enabled: true) - Scheduler. Follows the DAGs and, with the KubernetesExecutor, creates a pod for each task from the chart pod template. Chart default:
KubernetesExecutor executor. (tdp-airflow.executor) - DAG Processor. Parses the DAG files from the DAGs PVC, mounted at /opt/airflow/dags, and writes the DAGs to the metadata database.
- Task pods. With the KubernetesExecutor, each task runs in its own pod, which ends with it. The base resources of these pods come from workers.resources. Chart default:
KubernetesExecutor. (tdp-airflow.workers.resources) - Triggerer. Runs the deferred tasks, the ones that wait for an event. Its logs live in a PVC of their own. Chart default:
logs PVC on. (tdp-airflow.triggerer.persistence.enabled) - Triggerer PVC. Volume for the Triggerer logs. It stays in the cluster after helm uninstall. Chart default:
on, size in triggerer.persistence.size. (tdp-airflow.triggerer.persistence) - DAGs PVC. Volume where the DAG files live, mounted at /opt/airflow/dags by the DAG Processor, the Triggerer and the task pods. It requires a default StorageClass in the cluster, or the one set in dags.persistence.storageClassName. helm uninstall deletes this PVC, unless it is a PVC of your own, set in dags.persistence.existingClaim. Chart default:
on, ReadWriteOnce, size in dags.persistence.size. (tdp-airflow.dags.persistence) - Logs PVC. Shared volume for the task logs. Chart default:
off, size in logs.persistence.size. (tdp-airflow.logs.persistence.enabled) - Embedded PostgreSQL. The Airflow metadata database, in a StatefulSet of the release itself. It is not recommended for production. Its volume stays in the cluster after helm uninstall. Chart default:
on. (tdp-airflow.postgresql.enabled) - LDAP server. The company user directory (LDAP or Active Directory), queried at each interface login. Chart default:
off. (tdp-airflow.ldap.apiServerConfig)
The values file for this action is in LDAP login. Build it from there and apply it with the procedure below.
Create the Secret with the bind password
The extraEnv reads the password from this Secret, so it exists before the installation.
kubectl create secret generic tdp-airflow-ldap-bind \
--from-literal=password=<LDAP_BIND_PASSWORD> \
-n <NAMESPACE>
Add the LDAP block to the values file
Replace the server, the bind account, the domain and the group with yours.
<LDAP_HOST> is the directory address as seen from inside the cluster; <LDAP_BIND_USER>, the technical bind account; <LDAP_DOMAIN>, the domain component of the DN; <AIRFLOW_USERS_GROUP>, the group authorized to use Airflow.
Apply to the release
The API Server restarts with LDAP login.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-airflow \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace --timeout 10m \
-f <VALUES_FILE>
It worked when
kubectl -n <NAMESPACE> port-forward svc/<RELEASE_NAME>-api-server 8080:8080
A user from the authorized group signs in through the form at http://localhost:8080/auth/login/ and starts to exist in Airflow, with the User role.
If the login fails
Login rejected with the bind working, SERVER_DOWN and a missing Secret are in When something goes wrong, in Security - Airflow.
The variants, with the complete files commented line by line, are in Security - Airflow: the change of the default passwords in scenario 1, the login form and the Airflow 3 REST API in scenario 2, Active Directory in scenario 3, TLS with the directory in scenario 4 and the chart internal Secrets in scenario 5.
Connection to S3 storage and what the image brings for Spark and other components.
The Airflow DAGs talk to other systems in two ways: through what comes in the image and through connections, which keep the name, the type and the credentials of each destination. The Airflow image already brings the providers, the packages with the operators and hooks of each system, and the libraries for Spark, Kafka, Trino, Hive, ClickHouse and others, plus the Spark distribution, to run spark-submit from the tasks.
Of the connections, the chart creates one for you: the connection to an S3-compatible storage (the Ozone S3 Gateway, MinIO or another), off by default. You want that connection ready in Airflow.
S3 connection off (TDP-Settings.s3Connection.enabled). No Secret, no connection.
With Ozone security off (no Kerberos, the default), the S3 Gateway accepts any non-empty key pair, and the ozone-s3-credentials Secret does not exist. With it on, the S3 Gateway validates the keys: use those from the ozone-s3-credentials Secret (aws_access_key_id and aws_secret_access_key), which exists only in the Ozone namespace. See Integrations - Ozone and Ozone security in the GitOps kit.
The tasks connected to S3 storage
- Who accesses. Without external exposure, each person opens a tunnel from their own machine to the API Server Service with kubectl port-forward. Chart default:
no external exposure (port-forward). - API Server Service. The internal address of the Airflow web interface and API in the cluster. The name is always the release name followed by -api-server. Chart default:
ClusterIP, with the ports from apiServer.service.ports. (tdp-airflow.apiServer.service.type · tdp-airflow.apiServer.service.ports) - API Server. Serves the Airflow web interface and REST API. The interface login is the admin user, created by the chart at installation. Chart default:
admin user with a temporary password; LDAP off. (tdp-airflow.webserver.defaultUser.password) - Scheduler. Follows the DAGs and, with the KubernetesExecutor, creates a pod for each task from the chart pod template. Chart default:
KubernetesExecutor executor. (tdp-airflow.executor) - DAG Processor. Parses the DAG files from the DAGs PVC, mounted at /opt/airflow/dags, and writes the DAGs to the metadata database.
- Task pods. With the KubernetesExecutor, each task runs in its own pod, which ends with it. The base resources of these pods come from workers.resources. Chart default:
KubernetesExecutor. (tdp-airflow.workers.resources) - Triggerer. Runs the deferred tasks, the ones that wait for an event. Its logs live in a PVC of their own. Chart default:
logs PVC on. (tdp-airflow.triggerer.persistence.enabled) - Triggerer PVC. Volume for the Triggerer logs. It stays in the cluster after helm uninstall. Chart default:
on, size in triggerer.persistence.size. (tdp-airflow.triggerer.persistence) - DAGs PVC. Volume where the DAG files live, mounted at /opt/airflow/dags by the DAG Processor, the Triggerer and the task pods. It requires a default StorageClass in the cluster, or the one set in dags.persistence.storageClassName. helm uninstall deletes this PVC, unless it is a PVC of your own, set in dags.persistence.existingClaim. Chart default:
on, ReadWriteOnce, size in dags.persistence.size. (tdp-airflow.dags.persistence) - Logs PVC. Shared volume for the task logs. Chart default:
off, size in logs.persistence.size. (tdp-airflow.logs.persistence.enabled) - Embedded PostgreSQL. The Airflow metadata database, in a StatefulSet of the release itself. It is not recommended for production. Its volume stays in the cluster after helm uninstall. Chart default:
on. (tdp-airflow.postgresql.enabled) - S3-compatible storage. The Ozone S3 Gateway, MinIO or another S3-compatible endpoint. The chart writes an Airflow connection with that address. Chart default:
off. (TDP-Settings.s3Connection.enabled: true)
The values file for this action is in S3 connection. Build it from there and apply it with the procedure below.
Add the block to the values file
Replace the Secret, the connection name, the keys and the endpoint with yours.
Prefer not to leave accessKey and secretKey in a versioned file: pass them with --set or through an external secrets tool.
Apply to the release
The chart creates the Secret and, after the installation, writes the connection.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-airflow \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace --timeout 10m \
-f <VALUES_FILE>
Check the Secret and the connection
The Secret exists and the connection appears in Airflow.
kubectl -n <NAMESPACE> get secret <S3_SECRET_NAME>
It worked when
<CONNECTION_NAME> connection appears among the connections in the Airflow interface.If the connection disappears or goes back to the old value
It is recreated at each installation and update with the values from the file. Change it in the file, not in the interface.
What the image brings for each integration and Spark in the DAGs are in Integrations - Airflow: the providers and libraries of the image in scenario 1 and Spark in the DAGs, with the event logs for the History Server and the Ozone keys, in scenario 3.
When something goes wrong
Troubleshooting
Paste the error message or pick the symptom. The answer comes with the cause, what to do and the command.
- Installation refused: license check failed. Cause: The TDP license is missing or invalid in the cluster. What to do: Check the license with the command below. If it is not VALID, install or renew it (License Configuration) and repeat the installation.
- ImagePullBackOff on the Airflow images. Cause: The tdp-registry pull Secret does not exist in the release namespace. What to do: Create the tdp-registry Secret in the namespace, with your registry credential (First contact scenario).
- PVCs in Pending. Cause: The cluster has no default StorageClass, and the DAGs and Triggerer PVCs come on. What to do: Set a default StorageClass in the cluster or set one in dags.persistence.storageClassName and triggerer.persistence.storageClassName.
- My DAGs do not appear. Cause: With the defaults, Airflow starts without DAGs: the files must be in /opt/airflow/dags. A file with an import error does not load. What to do: Copy the files to the DAGs PVC or use git-sync (DAGs and volumes scenario) and check the import errors in the DAG Processor pod.
- The DAGs from Git do not arrive. Cause: With dags.persistence.enabled on, the chart does not create the git-sync container and the DAGs never arrive. What to do: Turn off dags.persistence.enabled together with dags.gitSync.enabled (DAGs and volumes scenario).
- Pods stuck waiting for the database migrations. Cause: scheduler, worker, api-server, triggerer and dag-processor wait for the metadata database migrations, all at the same time and against the same PostgreSQL, up to the images.migrationsWaitTimeout limit. What to do: If the database takes long to finish the migrations, increase images.migrationsWaitTimeout.
- PostgreSQL did not become ready in time. Cause: The <RELEASE_NAME>-check-db-ready Job did not reach the external PostgreSQL at the host and port of data.metadataConnection. What to do: Check the host and port in data.metadataConnection and whether the PostgreSQL is up and reachable from the Airflow namespace.
- Database creation Job failed (external database). Cause: The <RELEASE_NAME>-create-db Job could not create the database and the user in the external PostgreSQL: administrator Secret, address or password. What to do: The failed Job stays in the cluster, with its pod and log. Fix the cause and run the same helm upgrade --install: it replaces the failed Job.
- OpenShift refuses the pods (Security Context Constraints). Cause: On OpenShift, the Security Context Constraints require runAsNonRoot in the containers. What to do: Install with --set tdp-airflow.securityContexts.containers.runAsNonRoot=true (First contact scenario).
- The new admin password does not work. Cause: webserver.defaultUser.password only applies when the admin user is first created. What to do: Change the admin password in the Airflow interface.
- The published hostname does not open. Cause: The hostname does not resolve to the Ingress controller or to the Gateway. What to do: Point the hostname to the external IP of the controller (or of the Gateway) in DNS or in /etc/hosts. On OpenShift, check the Route.
- Two Airflow releases in the same namespace interfere with each other. Cause: Three internal Secrets of the chart, those of the Fernet key, the Redis password and the broker URL, have a fixed name and are shared by the releases of the same namespace. What to do: Install each Airflow in its own namespace. Details in Security - Airflow.
- Another problem. Cause: Start with the pod state and the namespace events. What to do: The events in time order show what keeps the pod from starting.
What stays after uninstalling
helm uninstall <RELEASE_NAME> -n <NAMESPACE>
After helm uninstall:
- The StatefulSet volumes stay: the embedded PostgreSQL one and the Triggerer logs one. A new installation in the same namespace finds the old database again.
- The three Secrets with the Airflow internal keys stay,
<RELEASE_NAME>-api-secret-key,<RELEASE_NAME>-jwt-secretand<RELEASE_NAME>-webserver-secret-key, created outside the release so they do not change between updates. A new installation reuses them. - The DAGs PVC,
<RELEASE_NAME>-dags, is deleted, with the DAGs in it, unless it is a PVC of your own, indags.persistence.existingClaim(scenario 3).
To start from scratch, also delete the volumes and Secrets that stayed:
kubectl -n <NAMESPACE> delete pvc data-<RELEASE_NAME>-postgresql-0 logs-<RELEASE_NAME>-triggerer-0
kubectl -n <NAMESPACE> delete secret <RELEASE_NAME>-api-secret-key <RELEASE_NAME>-jwt-secret <RELEASE_NAME>-webserver-secret-key
The removal order for all components and the platform is in Uninstallation.
All parameters
Filter by name or by group. The chart prefix is already filled in. Keys without a prefix live at the root of the values file.
45 of 45 parameters
| Parameter | Description | Chart default |
|---|---|---|
tdp-airflow.enabledGeneral | Enables the Airflow deployment | true |
tdp-airflow.defaultAirflowTagGeneral | Tag of the TDP Airflow image | 3.0.2-1 |
tdp-airflow.executorGeneral | Airflow executor | KubernetesExecutor |
tdp-airflow.config.core.default_timezoneGeneral | Airflow default time zone | America/Sao_Paulo |
tdp-airflow.securityContexts.containers.runAsNonRootGeneral | true on OpenShift, required by the Security Context Constraints | false |
tdp-airflow.images.migrationsWaitTimeoutGeneral | Seconds to wait for the metadata database migrations before giving up | 300 |
tdp-airflow.apiServer.service.typeAccess | Type of the API Server Service | ClusterIP |
tdp-airflow.apiServer.service.portsAccess | Ports of the API Server Service | api-server, port 8080 |
tdp-airflow.webserver.defaultUser.passwordAccess | Password of the interface admin user. Only applies when the user is first created | ChangeMe!T3c |
tdp-airflow.ldap.enabledAccess | Enables LDAP authentication | false |
tdp-airflow.ldap.apiServerConfigAccess | Flask-AppBuilder LDAP configuration | see Security - Airflow |
tdp-airflow.extraEnvAccess | Extra environment variables, such as references to Secrets | "" |
tdp-airflow.postgresql.enabledDatabase | Embedded PostgreSQL | true |
tdp-airflow.postgresql.auth.postgresPasswordDatabase | Password of the postgres superuser of the embedded PostgreSQL, equal to data.metadataConnection.pass | ChangeMe!T3c |
tdp-airflow.dataDatabase | Secret with the broker URL and the metadata database connection (embedded password; host, user and database for an external one) | connection password: ChangeMe!T3c |
TDP-Settings.externalDatabase.enabledDatabase | External database helpers. Required with the embedded one off | false |
TDP-Settings.externalDatabase.recreateDatabase | Deletes and recreates the database and the user at each installation or update | false |
TDP-Settings.externalDatabase.externalSecret.releaseNameDatabase | Secret with the PostgreSQL administrator password (postgres-password key) | tdp-postgresql-auth |
tdp-airflow.dags.persistence.enabledVolumes | DAGs PVC | true |
tdp-airflow.dags.persistence.sizeVolumes | Size of the DAGs PVC | 5Gi |
tdp-airflow.dags.persistence.storageClassNameVolumes | StorageClass of the DAGs PVC (empty uses the cluster default) | "" |
tdp-airflow.dags.persistence.accessModeVolumes | Access mode of the DAGs PVC | ReadWriteOnce |
tdp-airflow.dags.persistence.existingClaimVolumes | DAGs PVC created by you. The chart uses it and never deletes it | "" |
tdp-airflow.dags.gitSync.enabledDAGs from Git | git-sync container that clones the DAGs repository. Requires dags.persistence.enabled: false | false |
tdp-airflow.dags.gitSync.repoDAGs from Git | URL of the DAGs repository | https://github.com/apache/airflow.git |
tdp-airflow.dags.gitSync.branchDAGs from Git | Repository branch | v2-2-stable |
tdp-airflow.dags.gitSync.refDAGs from Git | Branch, tag or commit used by git-sync | v2-2-stable |
tdp-airflow.dags.gitSync.subPathDAGs from Git | DAGs folder inside the repository (empty for the root) | "" |
tdp-airflow.dags.gitSync.periodDAGs from Git | Interval between the searches for changes in the repository | 5s |
tdp-airflow.dags.gitSync.credentialsSecretDAGs from Git | Secret with the credentials of a private repository over HTTPS (GITSYNC_USERNAME, GITSYNC_PASSWORD, GIT_SYNC_USERNAME, GIT_SYNC_PASSWORD) | not set |
tdp-airflow.dags.gitSync.sshKeySecretDAGs from Git | Secret with the gitSshKey key, for an SSH URL | not set |
tdp-airflow.triggerer.persistence.enabledVolumes | Triggerer logs PVC | true |
tdp-airflow.triggerer.persistence.sizeVolumes | Size of the Triggerer logs PVC | 5Gi |
tdp-airflow.logs.persistence.enabledVolumes | Task logs PVC | false |
tdp-airflow.logs.persistence.sizeVolumes | Size of the task logs PVC | 5Gi |
TDP-Settings.s3Connection.enabledIntegration | Creates the Airflow S3 Secret and connection | false |
TDP-Settings.s3Connection.secretNameIntegration | Name of the S3 connection Secret | tdp-airflow-minio-connection |
TDP-Settings.s3Connection.uriIntegration | URI of the S3 endpoint | https://<s3-endpoint> |
TDP-Settings.gateway.ingress.enabledExposure | Renders the Ingress | false |
TDP-Settings.gateway.gatewayApi.enabledExposure | Renders the Gateway API HTTPRoute | false |
ingress.ingressClassNameExposure | Ingress class | "" |
ingress.hostsExposure | Ingress hostnames and paths | airflow.tdp.local, path / |
gatewayApi.gateway.enabledExposure | Creates a Gateway in the release namespace | false |
gatewayApi.parentRefsExposure | Gateway the HTTPRoute links to | [] |
gatewayApi.airflow.hostnamesExposure | HTTPRoute hostnames | airflow.tdp.local |
For the complete list of parameters, see the chart values.yaml or run helm show values for the installed version.