thierry accart created AIRFLOW-6731:
---------------------------------------

             Summary: kubernetes pod_generator: SIDECAR_CONTAINER image name 
should be configurable
                 Key: AIRFLOW-6731
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6731
             Project: Apache Airflow
          Issue Type: Improvement
          Components: executor-kubernetes
    Affects Versions: 1.10.7, 1.10.6, 1.10.5
            Reporter: thierry accart
            Assignee: Daniel Imberman


Hi

Since v1.10.5, as side car container is added to KubernetesPodExecutor with a 
hardcoded image name (initially "python:3.5-alpine", updated to "alpine" with 
no version later.)

Unfortunately, when running on a private cloud infrastructure not connected to 
internet, using such image name will fail. Moreover, some security policies 
could forbid usage of uncontrolled images.


I think image name for sidecar containers should be part of airflow 
configuration file.

( Source code is  airflow/kubernetes/pod_generator.py, see SIDECAR_CONTAINER 
object creation)

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to