[ 
https://issues.apache.org/jira/browse/AIRFLOW-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17167398#comment-17167398
 ] 

ASF GitHub Bot commented on AIRFLOW-6504:
-----------------------------------------

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]


> KubernetesExecutor: Allow specifying configmap for Airflow Local Setting
> ------------------------------------------------------------------------
>
>                 Key: AIRFLOW-6504
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6504
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.10.7
>            Reporter: Kaxil Naik
>            Assignee: Kaxil Naik
>            Priority: Major
>             Fix For: 1.10.8
>
>
> Currently airflow.cfg file can be passed via ConfigMap to `airflow_configmap` 
> setting.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to