Kevin Pullin created AIRFLOW-3402:
-------------------------------------

             Summary: Set default kubernetes affinity and toleration settings 
in airflow.cfg
                 Key: AIRFLOW-3402
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3402
             Project: Apache Airflow
          Issue Type: Improvement
          Components: kubernetes
            Reporter: Kevin Pullin


Currently airflow supports setting kubernetes `affinity` and `toleration` 
configuration inside dags using either a `KubernetesExecutorConfig` definition 
or using the `KubernetesPodOperator`.

In order to reduce having to set and maintain this configuration in every dag, 
it'd be useful to have the ability to set these globally in the airflow.cfg 
file.  One use case is to force all kubernetes pods to run on a particular set 
of dedicated airflow nodes, which requires both affinity rules and tolerations.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to