File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
content/zh-cn/docs/concepts/workloads/controllers Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -431,6 +431,14 @@ CronJob 根据其计划编排,在每次该执行任务的时候大约会创建
431
431
我们之所以说 "大约",是因为在某些情况下,可能会创建两个 Job,或者不会创建任何 Job。
432
432
我们试图使这些情况尽量少发生,但不能完全杜绝。因此,Job 应该是 ** 幂等的** 。
433
433
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
+
434
442
<!--
435
443
If `startingDeadlineSeconds` is set to a large value or left unset (the default)
436
444
and if `concurrencyPolicy` is set to `Allow`, the Jobs will always run
You can’t perform that action at this time.
0 commit comments