From 271bd0f163d9ca2e147c91324bbb13284e7bc3e0 Mon Sep 17 00:00:00 2001 From: Maciej Szulik Date: Tue, 26 Sep 2017 19:27:06 +0200 Subject: [PATCH] Update cronjob with defaults information (#5556) --- docs/concepts/workloads/controllers/cron-jobs.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/concepts/workloads/controllers/cron-jobs.md b/docs/concepts/workloads/controllers/cron-jobs.md index c782d28360..93dd16526b 100644 --- a/docs/concepts/workloads/controllers/cron-jobs.md +++ b/docs/concepts/workloads/controllers/cron-jobs.md @@ -189,6 +189,7 @@ 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, there are no limits, and all successful and failed jobs are kept. However, jobs can pile up quickly when running a cron job, and setting these fields is recommended. Setting a limit to `0` corresponds to keeping none of the corresponding kind of jobs after they finish. +The `.spec.successfulJobsHistoryLimit` and `.spec.failedJobsHistoryLimit` fields are optional. +These fields specify how many completed and failed jobs should be kept. By default, they are +set to 3 and 1 accordingly. Setting a limit to `0` corresponds to keeping none of the corresponding +kind of jobs after they finish.