Skip to content

Commit 23fdbda

Browse files
committed
[zh-cn]sync cron-jobs.md
Signed-off-by: xin.li <[email protected]>
1 parent ad55b5f commit 23fdbda

File tree

1 file changed

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

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,14 @@ CronJob 根据其计划编排,在每次该执行任务的时候大约会创建
431431
我们之所以说 "大约",是因为在某些情况下,可能会创建两个 Job,或者不会创建任何 Job。
432432
我们试图使这些情况尽量少发生,但不能完全杜绝。因此,Job 应该是 **幂等的**
433433

434+
<!--
435+
Starting with Kubernetes v1.32, CronJobs apply an annotation
436+
`batch.kubernetes.io/cronjob-scheduled-timestamp` to their created Jobs. This annotation
437+
indicates the originally scheduled creation time for the Job and is formatted in RFC3339.
438+
-->
439+
从 Kubernetes v1.32 开始,CronJob 为其创建的 Job 添加一个注解 `batch.kubernetes.io/cronjob-scheduled-timestamp`
440+
此注解表示 Job 最初计划的创建时间,采用 RFC3339 格式。
441+
434442
<!--
435443
If `startingDeadlineSeconds` is set to a large value or left unset (the default)
436444
and if `concurrencyPolicy` is set to `Allow`, the Jobs will always run

0 commit comments

Comments
 (0)