Back
Blog

How to Quickly Delete Multiple Jobs in Kubernetes

Jan 21, 2021

By Katy G

Share:
  • linkedin
  • facebook
  • instagram
  • twitter

Kube jobs running wild?

To delete successful jobs:

kubectl delete jobs --field-selector status.successful=1

To delete failed or long running jobs:

kubectl delete jobs --field-selector status.successful=0

Get rid of them all!

Back to Explore Focused Lab
/Contact us

Let’s build better software together