Skip to content

Commit

Permalink
Document that KubernetesExecutor overwrites container args (#27450)
Browse files Browse the repository at this point in the history
The executor will overwrite the args for the container so that the
worker runs the right task.

(cherry picked from commit 8f5e100)
  • Loading branch information
jedcunningham authored and ephraimbuddy committed Nov 9, 2022
1 parent 7990b04 commit 1c6de53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/apache-airflow/executor/kubernetes.rst
Expand Up @@ -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:
Expand Down

0 comments on commit 1c6de53

Please sign in to comment.