You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: chart/docs/using-additional-containers.rst
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Sidecar Containers
22
22
------------------
23
23
24
24
If you want to deploy your own sidecar container, you can add it through the ``extraContainers`` parameter.
25
-
You can define different containers for the scheduler, webserver, apiserver, worker, triggerer, dag processor, flower, create user job and migrate database job pods.
25
+
You can define different containers for the scheduler, webserver/api-server, Kubernetes/Celery workers, triggerer, dag processor, flower, create user job and migrate database job pods.
26
26
27
27
For example, sidecars that sync Dags from object storage:
28
28
@@ -34,15 +34,17 @@ For example, sidecars that sync Dags from object storage:
34
34
- name: s3-sync
35
35
image: my-company/s3-sync:latest
36
36
imagePullPolicy: Always
37
+
37
38
workers:
38
-
extraContainers:
39
-
- name: s3-sync
40
-
image: my-company/s3-sync:latest
41
-
imagePullPolicy: Always
39
+
kubernetes:
40
+
extraContainers:
41
+
- name: s3-sync
42
+
image: my-company/s3-sync:latest
43
+
imagePullPolicy: Always
42
44
43
45
.. note::
44
46
45
-
If you use ``workers.extraContainers`` with ``KubernetesExecutor``, you are responsible for signaling
47
+
If you use ``workers.kubernetes.extraContainers`` (dedicated for ``KubernetesExecutor``), you are responsible for signaling
46
48
sidecars to exit when the main container finishes so Airflow can continue the worker shutdown process.
Copy file name to clipboardExpand all lines: chart/values.schema.json
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2293,7 +2293,7 @@
2293
2293
"default": false
2294
2294
},
2295
2295
"extraContainers": {
2296
-
"description": "Launch additional containers into Airflow Celery workers and pods created with pod-template-file (templated). Note, if used with KubernetesExecutor, you are responsible for signaling sidecars to exit when the main container finishes so Airflow can continue the worker shutdown process!",
2296
+
"description": "Launch additional containers into Airflow Celery workers and pods created with pod-template-file (templated) (deprecated, use ``workers.celery.extraContainers`` and/or ``workers.kubernetes.extraContainers`` instead). Note, if used with KubernetesExecutor, you are responsible for signaling sidecars to exit when the main container finishes so Airflow can continue the worker shutdown process!",
2297
2297
"type": "array",
2298
2298
"default": [],
2299
2299
"items": {
@@ -3294,6 +3294,14 @@
3294
3294
],
3295
3295
"default": null
3296
3296
},
3297
+
"extraContainers": {
3298
+
"description": "Launch additional containers into Airflow Celery worker (templated).",
"description": "Expose additional ports of Airflow Celery worker container.",
3299
3307
"type": "array",
@@ -3637,6 +3645,14 @@
3637
3645
],
3638
3646
"default": null
3639
3647
},
3648
+
"extraContainers": {
3649
+
"description": "Launch additional containers into pods created with pod-template-file (templated). Note, you are responsible for signaling sidecars to exit when the main container finishes so Airflow can continue the worker shutdown process!",
0 commit comments