Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix KubernetesExecutor issue with deleted pending pods #14810

Merged
merged 1 commit into from
Mar 15, 2021

Conversation

jedcunningham
Copy link
Member

Closes #14556

This change treats a pending KubernetesExecutor worker pod deletion
as a failure. This allows them to follow the configured retry rules
for the task as one would expect.

This change treats a pending KubernetesExecutor worker pod deletion
as a failure. This allows them to follow the configured retry rules
for the task as one would expect.
@boring-cyborg boring-cyborg bot added provider:cncf-kubernetes Kubernetes provider related issues area:Scheduler including HA (high availability) scheduler labels Mar 15, 2021
@kaxil kaxil added this to the Airflow 2.0.2 milestone Mar 15, 2021
@kaxil kaxil merged commit a639dd3 into apache:master Mar 15, 2021
@kaxil kaxil deleted the fix_deleted_pending_pod branch March 15, 2021 21:16
ashb pushed a commit that referenced this pull request Mar 19, 2021
This change treats a pending KubernetesExecutor worker pod deletion
as a failure. This allows them to follow the configured retry rules
for the task as one would expect.

(cherry picked from commit a639dd3)
kaxil pushed a commit to astronomer/airflow that referenced this pull request Apr 12, 2021
This change treats a pending KubernetesExecutor worker pod deletion
as a failure. This allows them to follow the configured retry rules
for the task as one would expect.

(cherry picked from commit a639dd3)
ashb pushed a commit that referenced this pull request Apr 15, 2021
This change treats a pending KubernetesExecutor worker pod deletion
as a failure. This allows them to follow the configured retry rules
for the task as one would expect.

(cherry picked from commit a639dd3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:Scheduler including HA (high availability) scheduler provider:cncf-kubernetes Kubernetes provider related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Task stuck in queued state after pod fails to start
2 participants