You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Aizhamal Nurmamat kyzy (JIRA)" <ji...@apache.org> on 2019/05/18 02:52:02 UTC

[jira] [Updated] (AIRFLOW-3878) K8 Pod creation error if dag_id exceeds 63 characters

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

Aizhamal Nurmamat kyzy updated AIRFLOW-3878:
--------------------------------------------
    Labels: kubernetes  (was: )

Adding executor component, and kubernetes label as part of component refactor.

> K8 Pod creation error if dag_id exceeds 63 characters 
> ------------------------------------------------------
>
>                 Key: AIRFLOW-3878
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3878
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: executor, kubernetes
>    Affects Versions: 1.10.2
>            Reporter: raman
>            Priority: Critical
>              Labels: kubernetes
>
> Getting following error while creating K8 worker Pod. Dag Id length is > 63 char and as per [https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/] lable value should be <=63
> HTTP response body: \{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"unable to parse requirement: invalid label value: \"<Dag Id>\": must be no more than 63 characters","reason":"BadRequest","code":400}
> K8 Executor sets the dagId as the label value while creating k8pod. Avoid adding dag_id and task_id as pod labels if their size exceeds 63 char
>  



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