XD-DENG commented on issue #16013: URL: https://github.com/apache/airflow/issues/16013#issuecomment-846631841
This is interesting, because it seems like the error arises because of selecting pods using an invalid label key. However, according to [the Airflow 2.0.2 related CLI code](https://github.com/apache/airflow/blob/2.0.2/airflow/cli/commands/kubernetes_command.py#L93-L109), all keys we used align with the legal pattern `([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]` (and they are all the label keys created in [`PodGenerator.construct_pod`](https://github.com/apache/airflow/blob/2.0.2/airflow/kubernetes/pod_generator.py#L381-L388)) I can take a further look later. If @andormarkus has any other potentially related information, please share here as well. -- 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. For queries about this service, please contact Infrastructure at: [email protected]
