From ae4bc86daea78bd0841a2f43e560b25d5be31f78 Mon Sep 17 00:00:00 2001 From: peay Date: Mon, 13 Feb 2017 13:34:54 -0500 Subject: [PATCH] Update CronJob doc. with history limits --- docs/user-guide/cron-jobs.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/user-guide/cron-jobs.md b/docs/user-guide/cron-jobs.md index 34402d5568..b49f34179c 100644 --- a/docs/user-guide/cron-jobs.md +++ b/docs/user-guide/cron-jobs.md @@ -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.