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!
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!
For further actions, you may consider blocking this person and/or reporting abuse
Michael Levan -
Avesh -
Frederick Ollinger -
Jonas Scholz -
Top comments (3)
work well for pending jobs!
But this delete successful ones, not failed.
You are correct- bad copy pasta...OOPS.
Updating now