[
https://issues.apache.org/jira/browse/AIRFLOW-3402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fokko Driesprong resolved AIRFLOW-3402.
---------------------------------------
Resolution: Fixed
Assignee: Kevin Pullin
Fix Version/s: (was: 1.10.2)
2.0.0
> 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
> Assignee: Kevin Pullin
> Priority: Major
> Fix For: 2.0.0
>
>
> 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)