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
Devops Den -
Jayesh Nalawade -
Biz Maven -
Balraj Singh -
Top comments (3)
work well for pending jobs!
But this delete successful ones, not failed.
You are correct- bad copy pasta...OOPS.
Updating now