Update CronJob doc. with history limits
parent
515f62be08
commit
ae4bc86dae
|
@ -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
|
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.
|
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.
|
||||||
|
|
Loading…
Reference in New Issue