You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Adam Lippai (Jira)" <ji...@apache.org> on 2020/01/14 14:24:00 UTC

[jira] [Created] (AIRFLOW-6559) Hardcoded KubernetesPodOperator xcom resources

Adam Lippai created AIRFLOW-6559:
------------------------------------

             Summary: Hardcoded KubernetesPodOperator xcom resources
                 Key: AIRFLOW-6559
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6559
             Project: Apache Airflow
          Issue Type: Bug
          Components: operators, xcom
    Affects Versions: 1.10.7
            Reporter: Adam Lippai


With the latest version a new value of cpu requests `1m` is hard-coded:

[https://github.com/apache/airflow/blob/51f262c65afd7eaecc54661a3b5c4e533feecff8/airflow/kubernetes/pod_generator.py#L55]

This was a partially implemented improvement, however this still doesn't change the memory requests, also the value 1m may be too low in different environments.

I propose making it configurable by the KubernetesPodOperator, either making the sidecar container an optional parameter or the PodDefaults specifiable



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