Skip to content

Commit 4477add

Browse files
thesuperzappergsemet
authored andcommitted
add docs for using non-default airflow versions
Signed-off-by: Mathew Wicks <[email protected]>
1 parent 606b53b commit 4477add

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

charts/airflow/README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,37 @@ A __production__ starting point for GKE on Google Cloud (CeleryExecutor) | [link
8080

8181
## Airflow Configs
8282

83+
### How to use a specific version of airflow?
84+
<details>
85+
<summary>Show More</summary>
86+
<hr>
87+
88+
There will always be a single default version of airflow shipped with this chart, see `airflow.image.*` in [values.yaml](values.yaml) for the current one.
89+
90+
However, given the general nature of the chart, it is likely that other versions of airflow will work too.
91+
92+
For example, using airflow `2.0.1`, with python `3.6`:
93+
```yaml
94+
airflow:
95+
image:
96+
repository: apache/airflow
97+
tag: 2.0.1-python3.6
98+
```
99+
100+
For example, using airflow `1.10.15`, with python `3.8`:
101+
```yaml
102+
airflow:
103+
# this must be "true" for airflow 1.10
104+
legacyCommands: true
105+
106+
image:
107+
repository: apache/airflow
108+
tag: 1.10.15-python3.8
109+
```
110+
111+
<hr>
112+
</details>
113+
83114
### How to set airflow configs?
84115
<details>
85116
<summary>Show More</summary>

0 commit comments

Comments
 (0)