Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Delete job and pods in k8s StopTask if stuck in pending #3143

Merged
merged 2 commits into from
Apr 6, 2022
Merged

Conversation

catsby
Copy link
Contributor

@catsby catsby commented Mar 24, 2022

Fixes #2641 by deleting the Kubernetes job and examining any pods stuck in Pending for the given job. Optionally we can expand to delete other pods phases like Running or Failed, but for now it's just Pending

Copy link
Member

@briancain briancain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks legit to me! 👍🏻

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

If k8s odr tasks are pending, they will never get cleaned up
3 participants