Clean up successful Jobs when appropriate.

Section: Cluster Maintenance and Cleanup

Delete completed jobs

bash
bash
kubectl delete jobs -n ops --field-selector=status.successful=1
Explanation

Clean up successful Jobs when appropriate.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Cluster Maintenance and Cleanup
Delete evicted pods
Pattern to find evicted pods for cleanup.
OpenIn sheetbashsame section
Inspect finalizers
See whether finalizers are blocking deletion.
OpenIn sheetbashsame section
Call API server health endpoint
Read API server health information.
OpenIn sheetbashsame section
Call API server ready endpoint
Read API server readiness information.
OpenIn sheetbashsame section
Get component statuses (legacy)
Legacy command seen on older clusters; modern clusters rely on health endpoints and metrics.
OpenIn sheetbashsame section
Custom columns output
Render table output with selected fields.