dirrao commented on code in PR #41220: URL: https://github.com/apache/airflow/pull/41220#discussion_r1744708190
########## airflow/providers/cncf/kubernetes/executors/kubernetes_executor.py: ########## @@ -177,6 +177,37 @@ def _make_safe_label_value(self, input_value: str | datetime) -> str: return pod_generator.datetime_to_label_safe_datestring(input_value) return pod_generator.make_safe_label_value(input_value) + def get_pod_labels_combined_str_to_pod_map(self) -> dict[str, k8s.V1Pod]: + """ + List the worker pods owned by this scheduler and create a map containing pod combined labels search str -> pod. + + For every pod, it creates two below entries in the map Review Comment: Sorry, earlier we were added with execution_date as well. However, that was deprecated and removed in this PR. I will update the comment too. -- 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-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org