Blog
How to Quickly Delete Multiple Jobs in Kubernetes
Kube jobs running wild? Here are quick kubectl one-liners to delete successful jobs, failed or long-running jobs, or nuke them all at once.
Jan 21, 2021

Kube jobs running wild?
To delete successful jobs:
kubectl delete jobs --field-selector status.successful=1To delete failed or long running jobs:
kubectl delete jobs --field-selector status.successful=0Get rid of them all!
/Contact Us

Modernize your legacy with Focused
Get in touch