Under which category would you file this issue?
Providers
Apache Airflow version
3.2.0
What happened and how to reproduce it?
KubernetesPodTrigger only looks at the state of the base container when polling for state instead of the state of the pod itself. If you include an init container and that container fails, the base container stays in waiting state forever and the trigger never completes.
What you think should happen instead?
The trigger should look at the overall state of the pod and complete when the pod moves to a terminal state.
Operating System
Not Applicable
Deployment
Astronomer
Apache Airflow Provider(s)
cncf-kubernetes
Versions of Apache Airflow Providers
10.16.1
Official Helm Chart version
Not Applicable
Kubernetes Version
Not Applicable
Helm Chart configuration
No response
Docker Image customizations
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
Under which category would you file this issue?
Providers
Apache Airflow version
3.2.0
What happened and how to reproduce it?
KubernetesPodTrigger only looks at the state of the base container when polling for state instead of the state of the pod itself. If you include an init container and that container fails, the base container stays in waiting state forever and the trigger never completes.
What you think should happen instead?
The trigger should look at the overall state of the pod and complete when the pod moves to a terminal state.
Operating System
Not Applicable
Deployment
Astronomer
Apache Airflow Provider(s)
cncf-kubernetes
Versions of Apache Airflow Providers
10.16.1
Official Helm Chart version
Not Applicable
Kubernetes Version
Not Applicable
Helm Chart configuration
No response
Docker Image customizations
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct