You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (JIRA)" <ji...@apache.org> on 2018/12/29 23:55:00 UTC

[jira] [Updated] (AIRFLOW-3402) Set default kubernetes affinity and toleration settings in airflow.cfg

     [ https://issues.apache.org/jira/browse/AIRFLOW-3402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kaxil Naik updated AIRFLOW-3402:
--------------------------------
    Fix Version/s: 1.10.2

> 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
>            Priority: Major
>             Fix For: 1.10.2
>
>
> 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)