Update CronJob doc. with history limits

reviewable/pr2817/r1
peay 2017-02-13 13:34:54 -05:00 committed by Andrew Chen
parent 515f62be08
commit ae4bc86dae
1 changed files with 6 additions and 0 deletions

View File

@ -184,3 +184,9 @@ cron jobs, their respective jobs are always allowed to run concurrently.
The `.spec.suspend` field is also optional. If set to `true`, all subsequent executions will be suspended. It does not
apply to already started executions. Defaults to false.
### Jobs History Limits
The `.spec.successfulJobsHistoryLimit` and `.spec.failedJobsHistoryLimit` fields are optional. These fields specify how many completed and failed jobs should be kept.
By default, the last 3 completed jobs and the last failed job are kept. Setting a limit to `0` corresponds to keeping none of the corresponding kind of jobs after they finish.