You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Philippe Gagnon (JIRA)" <ji...@apache.org> on 2019/05/28 21:53:00 UTC

[jira] [Created] (AIRFLOW-4585) Implement pod mutation hook for KubernetesExecutor and KubernetesPodOperator

Philippe Gagnon created AIRFLOW-4585:
----------------------------------------

             Summary: Implement pod mutation hook for KubernetesExecutor and KubernetesPodOperator
                 Key: AIRFLOW-4585
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4585
             Project: Apache Airflow
          Issue Type: New Feature
          Components: executor
    Affects Versions: 1.10.3
            Reporter: Philippe Gagnon
            Assignee: Philippe Gagnon
             Fix For: 1.10.4


This is a proposal to add a mutation hook similar to the {{policy}} function in {{airflow_local_settings}} to allow cluster administrators to mutate worker pods with more complex behavior than what is currently possible with the ini-based configuration.

This function could be called in {{PodLauncher.run_pod\{_async}}} and apply cluster-wide mutations to pods. This could for instance allow users to add complex sidecar or init containers to pods launched by their Airflow instance.



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