brcps12 commented on issue #21386:
URL: https://github.com/apache/airflow/issues/21386#issuecomment-1035915506


   Yes, if the `KubernetesExecutor` is used, it seems true that I can’t use the 
Airflow Worker Pod. However, if set the `executor` to `KubernetesExecutor`, I 
can specify the template of the pod in which each task will be executed, using 
`.Values.podTemplate`, and if not specified, 
`chart/files/pod-template-file.kubernetes-helm-yaml` is used as the default 
value.
   
   The document describes the `.Values.podTemplate` as follows.
   
   > The contents of `pod_template_file.yaml` used for `KubernetesExecutor` 
workers (templated). The default (see 
`files/pod-template-file.kubernetes-helm-yaml`) already takes into account 
normal `workers` configuration parameters (e.g. `workers.resources`), so you 
normally won’t need to override this directly.
   
   It says that `workers` configurations are already taken into account, so I 
think not only `resources` but also `podAnnotations` should be considered.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to