Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-4585

Implement pod mutation hook for KubernetesExecutor and KubernetesPodOperator

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.3
    • Fix Version/s: 1.10.4
    • Component/s: executors

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pgag Philippe Gagnon
                Reporter:
                pgag Philippe Gagnon
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: