Skip to content

Commit 1a2e202

Browse files
committed
Add a clarifying reference about a Job's Pod deletion.
1 parent ddf3002 commit 1a2e202

File tree

1 file changed

+2
-1
lines changed
  • content/en/docs/concepts/workloads/controllers

1 file changed

+2
-1
lines changed

content/en/docs/concepts/workloads/controllers/job.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ from failed Jobs is not lost inadvertently.
255255

256256
## Job termination and cleanup
257257

258-
When a Job completes, no more Pods are created, but the Pods are not deleted either. Keeping them around
258+
When a Job completes, no more Pods are created, but the Pods are [usually](#pod-backoff-failure-policy) not deleted either.
259+
Keeping them around
259260
allows you to still view the logs of completed pods to check for errors, warnings, or other diagnostic output.
260261
The job object also remains after it is completed so that you can view its status. It is up to the user to delete
261262
old jobs after noting their status. Delete the job with `kubectl` (e.g. `kubectl delete jobs/pi` or `kubectl delete -f ./job.yaml`). When you delete the job using `kubectl`, all the pods it created are deleted too.

0 commit comments

Comments
 (0)