AutomationDev85 opened a new pull request, #51158: URL: https://github.com/apache/airflow/pull/51158
# Overview During working with the KubernetesPodOperator we found the issue that sometimes the POD was already in terminated state and then KubernetesPodOperator tries to reconnect to this pod. But if the xcom sidecar is not running any more it makes no sense to work with this pod. Idea is to check if the pod is terminated then then delete the POD and create a new POD to run the task. # Details of change: * Function get_or_create_pod checks if found pod is terminated. Then create new POD to run the task and delete the old pod. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
