Skip to content

Commit

Permalink
kep2140
Browse files Browse the repository at this point in the history
  • Loading branch information
deejross committed Mar 30, 2022
1 parent 6da9c34 commit ff3b672
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions content/en/docs/concepts/workloads/controllers/cron-jobs.md
Expand Up @@ -91,6 +91,14 @@ For example, the line below states that the task must be started every Friday at

To generate CronJob schedule expressions, you can also use web tools like [crontab.guru](https://crontab.guru/).

## TimeZone Support
{{< feature-state for_k8s_version="v1.24" state="alpha" >}}

There is now a new `timeZone` field and requires the `CronJobTimeZone` featuregate to be enabled to use. It is an optional field that should be set either to nil or a non-empty string. The `timeZone` string value should be a valid time zone name. Please see: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, the local time zone of kube-controller-manager is used.

A time zone database from the Go standard library is included in the binaries and used as a fallback in case an external database is not available.


## CronJob limitations {#cron-job-limitations}

A cron job creates a job object _about_ once per execution time of its schedule. We say "about" because there
Expand Down
Expand Up @@ -70,6 +70,7 @@ different Kubernetes components.
| `CPUManagerPolicyBetaOptions` | `true` | Beta | 1.23 | |
| `CPUManagerPolicyOptions` | `false` | Alpha | 1.22 | 1.22 |
| `CPUManagerPolicyOptions` | `true` | Beta | 1.23 | |
| `CronJobTimeZone` | `false` | Alpha | 1.24 | |
| `CSIInlineVolume` | `false` | Alpha | 1.15 | 1.15 |
| `CSIInlineVolume` | `true` | Beta | 1.16 | - |
| `CSIMigration` | `false` | Alpha | 1.14 | 1.16 |
Expand Down Expand Up @@ -623,6 +624,7 @@ Each feature gate is designed for enabling/disabling a specific feature:
- `CRIContainerLogRotation`: Enable container log rotation for CRI container runtime. The default max size of a log file is 10MB and the
default max number of log files allowed for a container is 5. These values can be configured in the kubelet config.
See the [logging at node level](/docs/concepts/cluster-administration/logging/#logging-at-the-node-level) documentation for more details.
- `CronJobTimeZone`: Allow the use of the `timeZone` optional field in [CronJobs](/docs/concepts/workloads/controllers/cron-jobs.md)
- `CSIBlockVolume`: Enable external CSI volume drivers to support block storage.
See the [`csi` raw block volume support](/docs/concepts/storage/volumes/#csi-raw-block-volume-support)
documentation for more details.
Expand Down

0 comments on commit ff3b672

Please sign in to comment.