kaxil commented on pull request #7097: URL: https://github.com/apache/airflow/pull/7097#issuecomment-665581831
> Hello @kaxil > > Can you elaborate on why you would want to call pod_mutating_hook inside of a newly launched pod? We set tolerations and affinity inside the pod_mutation_hook for the PODs launched by KubernetesPodOperator and KuberneteExecutor. Without this PR, if we are using KubernetesExecutor and have a task with KubernetesPodOperator, the k8s worker pod won't have airflow_local_settings file and so tolerations and affinity won't be applied there. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
