aeroyorch opened a new issue, #68445: URL: https://github.com/apache/airflow/issues/68445
### Under which category would you file this issue? Providers ### Apache Airflow version 3.2.1 ### What happened and how to reproduce it? Running a `KubernetesPodOperator` in sync mode (`deferrable=False`) with `init_container_logs` enabled, if the pod gets stuck in `Pending` (unschedulable), the task hangs forever instead of failing after `startup_timeout_seconds` / `schedule_timeout_seconds`. It seems like the init container log following kicks in before the startup timeout is ever checked, so it just waits on the `Pending` pod indefinitely. ### What you think should happen instead? The task should time out with `PodLaunchTimeoutException` like it does without `init_container_logs`. ### Operating System _No response_ ### Deployment None ### Apache Airflow Provider(s) cncf-kubernetes ### Versions of Apache Airflow Providers apache-airflow-providers-cncf-kubernetes==10.16.0 ### Official Helm Chart version Not Applicable ### Kubernetes Version _No response_ ### Helm Chart configuration _No response_ ### Docker Image customizations _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [x] 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
