You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/12/20 13:27:24 UTC

[GitHub] [airflow] kaxil opened a new issue #20421: Inconsistencies in Pod labels after AIP-39

kaxil opened a new issue #20421:
URL: https://github.com/apache/airflow/issues/20421


   ### Apache Airflow version
   
   2.2.2 (latest released)
   
   ### What happened
   
   The labels on POD created by `KubernetesPodOperator` and `KubernetesExecutor` are inconsistent. The latter was updated during AIP-39 to have `execution_date` or `run_id`.
   
   https://github.com/apache/airflow/blob/aa27d9f92ef261ce2bf2b0e1b3699c1ffd23307f/airflow/kubernetes/pod_generator.py#L361-L374
   
   While KPO still has the same 
   
   https://github.com/apache/airflow/blob/ee68a25facb5541000d5d6524a4009d7e3895ae1/airflow/providers/cncf/kubernetes/operators/kubernetes_pod.py#L308-L320
   
   ### What you expected to happen
   
   _No response_
   
   ### How to reproduce
   
   _No response_
   
   ### Operating System
   
   t
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org