Section: Jobs and CronJobs

Delete job

bash
bash
kubectl delete job db-migrate -n data
Explanation

Remove a finished or failed Job.

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 Jobs and CronJobs
List jobs
Show Jobs across namespaces.
OpenIn sheetbashsame section
Describe job
Inspect completions, pods, and failures.
OpenIn sheetbashsame section
Create job from cronjob
Trigger an ad hoc run from an existing CronJob.
OpenIn sheetbashsame section
List cronjobs
Show CronJobs across namespaces.
OpenIn sheetbashsame section
Describe cronjob
Inspect the cron schedule, history limits, and concurrency policy.
OpenIn sheetbashsame section
Suspend cronjob
Pause CronJob scheduling without deleting it.
OpenIn sheetbashsame section