Skip to content

Commit

Permalink
Add information how to enable cronjob controller v2
Browse files Browse the repository at this point in the history
  • Loading branch information
soltysh committed Nov 4, 2020
1 parent dbce914 commit 6a7827a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions content/en/docs/concepts/workloads/controllers/cron-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ The name must be no longer than 52 characters. This is because the CronJob contr
append 11 characters to the job name provided and there is a constraint that the
maximum length of a Job name is no more than 63 characters.



<!-- body -->

## CronJob
Expand Down Expand Up @@ -82,6 +80,14 @@ be down for the same period as the previous example (`08:29:00` to `10:21:00`,)
The CronJob is only responsible for creating Jobs that match its schedule, and
the Job in turn is responsible for the management of the Pods it represents.

## New controller (alpha)

There's an alternative implementation of the CronJob controller exposed as an alpha feature since kubernetes 1.20. To enable it pass the following feature gate flag to {{< glossary_tooltip term_id="kube-controller-manager" text="kube-controller-manager" >}}.

```
--feature-gates="CronJobControllerV2=true"
```


## {{% heading "whatsnext" %}}

Expand Down

0 comments on commit 6a7827a

Please sign in to comment.