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=1Explanation
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
Get component statuses (legacy)
Legacy command seen on older clusters; modern clusters rely on health endpoints and metrics.