This is an automated email from the ASF dual-hosted git repository.
dstandish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 8f5e100f30 Document that KubernetesExecutor overwrites container args
(#27450)
8f5e100f30 is described below
commit 8f5e100f30764e7b1818a336feaa8bb390cbb327
Author: Jed Cunningham <[email protected]>
AuthorDate: Tue Nov 1 23:08:45 2022 -0700
Document that KubernetesExecutor overwrites container args (#27450)
The executor will overwrite the args for the container so that the
worker runs the right task.
---
docs/apache-airflow/executor/kubernetes.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/apache-airflow/executor/kubernetes.rst
b/docs/apache-airflow/executor/kubernetes.rst
index 429fb4066e..8eb2a81efb 100644
--- a/docs/apache-airflow/executor/kubernetes.rst
+++ b/docs/apache-airflow/executor/kubernetes.rst
@@ -126,7 +126,7 @@ pod_override
When using the KubernetesExecutor, Airflow offers the ability to override
system defaults on a per-task basis.
To utilize this functionality, create a Kubernetes V1pod object and fill in
your desired overrides.
-Please note that the scheduler will override the ``metadata.name`` of the
V1pod before launching it.
+Please note that the scheduler will override the ``metadata.name`` and
``containers[0].args`` of the V1pod before launching it.
To overwrite the base container of the pod launched by the KubernetesExecutor,
create a V1pod with a single container, and overwrite the fields as follows: