-
Notifications
You must be signed in to change notification settings - Fork 16.5k
Description
Apache Airflow version: 1.10.12
Kubernetes version (if you are using kubernetes) (use kubectl version): 1.18
What happened: Mounting DAGS from an externally populated PVC doesn't work:
--set dags.persistence.enabled=true \
--set dags.persistence.existingClaim=my-volume-claim
--set dags.gitSync.enabled=false
Envionment variables from K8 Executor worker
│ Environment:
││ AIRFLOW_HOME: /opt/airflow ││ AIRFLOW__CORE__DAGS_FOLDER: /opt/airflow/dags/repo/
││ AIRFLOW__CORE__DAG_CONCURRENCY: 5 │
│ AIRFLOW__CORE__EXECUTOR: LocalExecutor │
│ AIRFLOW__CORE__FERNET_KEY: <set to the key 'fernet-key' in secret 'airflow-fernet-key'> Optional: false │
│ AIRFLOW__CORE__PARALLELISM: 5 │
│ AIRFLOW__CORE__SQL_ALCHEMY_CONN: <set to the key 'connection' in secret 'airflow-airflow-metadata'> Optional: false │
│ AIRFLOW__KUBERNETES__DAGS_VOLUME_SUBPATH: repo/
What you expected to happen: Dags mounted in workers from PVC
How to reproduce it: Use chart from master and set variables as above