You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "gautampa7 (via GitHub)" <gi...@apache.org> on 2024/09/07 21:34:31 UTC
Re: [I] Airflow scheduler misses success events of worker pods on kubernetes [airflow]
gautampa7 commented on issue #41436:
URL: https://github.com/apache/airflow/issues/41436#issuecomment-2336458286
Hi,
We are having multiple airflow instances and we observed that the scheduler thinks that tasks are still running and fails to schedule anything else i.e gets stuck whenever GKE cluster node upgrades are happening. We suspect that when a task pod running on the node is deleted/drained by the cluster (during the node upgrade process) the scheduler goes into this state. The only fix was to restart the scheduler and it started working again as expected.
We have weekly GKE upgrades scheduled and are noticing this issue in our airflow instances exactly during the upgrade.
I think as @nclaeys suggested and tested by @vlieven we should be removing that block which wrongly assumes that the pod termination is only issued by airflow scheduler and not from the cluster.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org