Skip to content

Commit b6e35af

Browse files
authored
Merge pull request #35527 from buptliuwei/patch-6
[zh-cn]Remove duplicate parts
2 parents 6d02b39 + 61285a1 commit b6e35af

File tree

1 file changed

+0
-29
lines changed
  • content/zh-cn/docs/concepts/workloads/controllers

1 file changed

+0
-29
lines changed

content/zh-cn/docs/concepts/workloads/controllers/cron-jobs.md

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -184,36 +184,7 @@ Go 标准库中的时区数据库包含在二进制文件中,并用作备用
184184

185185

186186
<!--
187-
## Time zones
188-
For CronJobs with no time zone specified, the kube-controller-manager interprets schedules relative to its local time zone.
189-
-->
190-
## 时区 {#time-zones}
191-
对于没有指定时区的 CronJob,kube-controller-manager 会根据其本地时区来解释其排期表(schedule)。
192-
193-
{{< feature-state for_k8s_version="v1.24" state="alpha" >}}
194187
195-
<!--
196-
If you enable the `CronJobTimeZone` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/),
197-
you can specify a time zone for a CronJob (if you don't enable that feature gate, or if you are using a version of
198-
Kubernetes that does not have experimental time zone support, all CronJobs in your cluster have an unspecified
199-
timezone).
200-
-->
201-
如果启用 `CronJobTimeZone` [特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)
202-
你可以为 CronJob 指定时区(如果你不启用该特性门控,或者如果你使用的 Kubernetes 版本不支持实验中的时区特性,
203-
则集群中的所有 CronJob 都属于未指定时区)。
204-
205-
<!--
206-
When you have the feature enabled, you can set `spec.timeZone` to the name of a valid [time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) name. For example, setting
207-
`spec.timeZone: "Etc/UTC"` instructs Kubernetes to interpret the schedule relative to Coordinated Universal Time.
208-
209-
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 on the system.
210-
-->
211-
当你启用该特性时,你可以将 `spec.timeZone` 设置为有效的[时区](https://zh.wikipedia.org/wiki/%E6%97%B6%E5%8C%BA%E4%BF%A1%E6%81%AF%E6%95%B0%E6%8D%AE%E5%BA%93)名称。
212-
例如,设置 `spec.timeZone: "Etc/UTC"` 表示 Kubernetes
213-
使用协调世界时(Coordinated Universal Time)进行解释排期表。
214-
215-
Go 标准库中的时区数据库包含在二进制文件中,并用作备用数据库,以防系统上没有外部数据库可用。
216-
<!--
217188
## CronJob Limitations
218189
219190
A cron job creates a job object _about_ once per execution time of its schedule. We say "about" because there

0 commit comments

Comments
 (0)