Update CronJob doc. with history limits

This commit is contained in:
peay
2017-02-13 13:34:54 -05:00
committed by Andrew Chen
parent 515f62be08
commit ae4bc86dae
+6
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.