dzhigimont opened a new pull request, #34579: URL: https://github.com/apache/airflow/pull/34579
Fix KubernetesPodTrigger to take startup timeout into account when Pod hangs on the ErrImagePull or ContainerCreating state and etc. due to incorrect images, mounts, or network issues and it will never complete. There were two problems: 1. When a pod is starting it has pending status and its base container can have two statuses undefined or waiting so I added to take into account waiting status as well as undefined in the KubernetesPodTrigger 2. Problem in the callback method execute_complete in KubernetesPodOperator when a task returns from the deferred mode with timeout status it tries to wait for pod completion but the pod with problems such as ErrImagePull or bad mounts and etc. will never complete so I've excluded the waiting for the timeout status -- 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]
