Skip to content

Commit 0866f6c

Browse files
authored
Merge pull request #48860 from janetkuo/patch-2
Add `batch.kubernetes.io/cronjob-scheduled-timestamp` annotation information to CronJob page
2 parents 2131b01 + 1cf9e71 commit 0866f6c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/en/docs/concepts/workloads/controllers/cron-jobs.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ are certain circumstances where two Jobs might be created, or no Job might be cr
216216
Kubernetes tries to avoid those situations, but does not completely prevent them. Therefore,
217217
the Jobs that you define should be _idempotent_.
218218

219+
Starting with Kubernetes v1.32, CronJobs apply an annotation
220+
`batch.kubernetes.io/cronjob-scheduled-timestamp` to their created Jobs. This annotation
221+
indicates the originally scheduled creation time for the Job and is formatted in RFC3339.
222+
219223
If `startingDeadlineSeconds` is set to a large value or left unset (the default)
220224
and if `concurrencyPolicy` is set to `Allow`, the Jobs will always run
221225
at least once.

0 commit comments

Comments
 (0)