DEV Community

loading...
Cover image for How to quickly delete multiple failed jobs in kubernetes
Focused Labs

How to quickly delete multiple failed jobs in kubernetes

katydidknot profile image katydidknot ・1 min read

Kube jobs running wild?

kubectl delete jobs --field-selector status.successful=1
Enter fullscreen mode Exit fullscreen mode

Get rid of them all!

Discussion (0)

pic
Editor guide