Add note about cron job suspend behavior (#9904)

pull/9921/head
Dana Katz 2018-08-20 10:44:43 -05:00 committed by k8s-ci-robot
parent c2b26de572
commit 14a995e8a0
1 changed files with 5 additions and 0 deletions

View File

@ -168,6 +168,11 @@ If it is set to `true`, all subsequent executions are suspended.
This setting does not apply to already started executions.
Defaults to false.
{{< caution >}}
**Caution:** Executions that are suspended during their scheduled time count as missed jobs.
When `.spec.suspend` changes from `true` to `false` on an existing cron job without a [starting deadline](#starting-deadline), the missed jobs are scheduled immediately.
{{< /caution >}}
### Jobs History Limits
The `.spec.successfulJobsHistoryLimit` and `.spec.failedJobsHistoryLimit` fields are optional.