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

Delete job pods when deleting jobs #76

Open
Fizzadar opened this issue Nov 20, 2020 · 2 comments
Open

Delete job pods when deleting jobs #76

Fizzadar opened this issue Nov 20, 2020 · 2 comments
Labels
kubetools Issues with `kubetools`, production deployment.

Comments

@Fizzadar
Copy link
Contributor

Currently we delete the job leaving the pods. K8s does not handle this itself, so we should, same as kubectl.

@Fizzadar Fizzadar added the kubetools Issues with `kubetools`, production deployment. label Nov 20, 2020
@ryan109
Copy link
Contributor

ryan109 commented Aug 7, 2021

@eatoncns I can't remember, is this done now?

@eatoncns
Copy link
Contributor

eatoncns commented Aug 9, 2021

The option to do so is now there in the delete_job function via the propagation_policy. Foreground or background policies will clean up dependents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kubetools Issues with `kubetools`, production deployment.
Projects
None yet
Development

No branches or pull requests

3 participants