You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/concepts/workloads/controllers/job.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -510,8 +510,7 @@ When a Job is resumed from suspension, its `.status.startTime` field will be
510
510
reset to the current time. This means that the `.spec.activeDeadlineSeconds`
511
511
timer will be stopped and reset when a Job is suspended and resumed.
512
512
513
-
Remember that suspending a Job will delete all active Pods. When the Job is
514
-
suspended, your [Pods will be terminated](/docs/concepts/workloads/pods/pod-lifecycle/#pod-termination)
513
+
When you suspend a Job, any running Pods that don't have a status of `Completed` will be [terminated](/docs/concepts/workloads/pods/pod-lifecycle/#pod-termination).
515
514
with a SIGTERM signal. The Pod's graceful termination period will be honored and
516
515
your Pod must handle this signal in this period. This may involve saving
517
516
progress for later or undoing changes. Pods terminated this way will not count
@@ -537,6 +536,20 @@ spec:
537
536
...
538
537
```
539
538
539
+
You can also toggle Job suspension by patching the Job using the command line.
0 commit comments