ahipp13 opened a new issue, #40957:
URL: https://github.com/apache/airflow/issues/40957

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   2.9.2 and 2.8.3
   
   ### What happened?
   
   Using the Kubernetes Executor, sometimes when a task is completed it will 
not shut down the pod and leave it in a "Running" state. It happens randomly. 
Looking at the logs, it says "Task exited with return code 0" but the pod is 
still up. I tried upgrading to 2.9.2 but it is still happening in this Airflow 
version as well.
   
   ### What you think should happen instead?
   
   Once a task is completed it should complete the pod and spin it down
   
   ### How to reproduce
   
   Really hard to reproduce as it happens randomly and for no reason that I can 
tell. Which is why I am posting this to get debug help.
   
   ### Operating System
   
   Debian GNU/Linux 12 (bookworm)
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-apache-kafka==1.5.0
   apache-airflow-providers-cncf-kubernetes==8.3.3
   apache-airflow-providers-common-io==1.3.2
   apache-airflow-providers-common-sql==1.14.0
   apache-airflow-providers-fab==1.1.1
   apache-airflow-providers-ftp==3.9.1
   apache-airflow-providers-http==4.11.1
   apache-airflow-providers-imap==3.6.1
   apache-airflow-providers-microsoft-azure==10.2.0
   apache-airflow-providers-postgres==5.11.2
   apache-airflow-providers-smtp==1.7.1
   apache-airflow-providers-sqlite==3.8.1
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   Using the official Airflow helm chart to deploy Airflow to a Kubernetes 
namespace running Kubernetes version 1.29. This first started happening on 
Airflow version 2.8.3 and Helm Chart 1.12.0. We then upgraded to 2.9.2 and Helm 
Chart 1.14.0, as well as upgraded Python versions from 3.8 to 3.12 and this is 
still happening.
   
   ### Anything else?
   
   Really appreciate any help or advice on how I can best debug this to see 
what is happening and how to fix. Tried a lot of things and I have came up 
stumped.
   
   ### Are you willing to submit PR?
   
   - [ ] 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]

Reply via email to