The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user ephraimbuddy (triggered by ephraimbuddy).

Head commit for run:
67798b2b8add1f7bbda2916c861c6958287122e9 / Ephraim Anierobi 
<[email protected]>
Fix Scheduler restarting due to too many completed pods in cluster (#40183)

* Fix Scheduler restarting due to too many completed pods in cluster

Currently, when a pod completes and is not deleted due to the user's 
configuration,
the watcher keeps listing these pods and checking their status. We should 
instead stop
watching the pod once it succeeds. To do that, pods are created with the 
executor done
label set to False and changed to True when the pod completes. The watcher then 
watches
only those pods that the pod executor done label is False

closes: #22612

* Update airflow/providers/cncf/kubernetes/pod_generator.py

Co-authored-by: Jed Cunningham <[email protected]>

* Add back removed section

* Don't add pod key label from get go

* Update 
airflow/providers/cncf/kubernetes/executors/kubernetes_executor_utils.py

Co-authored-by: Jed Cunningham <[email protected]>

---------

Co-authored-by: Jed Cunningham <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/9505981367

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to