mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Promote job creation timestamp annotation to stable
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
This commit is contained in:
parent
d9b95ea94f
commit
db94009981
@ -147,6 +147,8 @@ const (
|
|||||||
ContainerCheckpoint featuregate.Feature = "ContainerCheckpoint"
|
ContainerCheckpoint featuregate.Feature = "ContainerCheckpoint"
|
||||||
|
|
||||||
// owner: @helayoty
|
// owner: @helayoty
|
||||||
|
// kep: https://kep.k8s.io/4026
|
||||||
|
//
|
||||||
// Set the scheduled time as an annotation in the job.
|
// Set the scheduled time as an annotation in the job.
|
||||||
CronJobsScheduledAnnotation featuregate.Feature = "CronJobsScheduledAnnotation"
|
CronJobsScheduledAnnotation featuregate.Feature = "CronJobsScheduledAnnotation"
|
||||||
|
|
||||||
|
@ -114,6 +114,7 @@ var defaultVersionedKubernetesFeatureGates = map[featuregate.Feature]featuregate
|
|||||||
|
|
||||||
CronJobsScheduledAnnotation: {
|
CronJobsScheduledAnnotation: {
|
||||||
{Version: version.MustParse("1.28"), Default: true, PreRelease: featuregate.Beta},
|
{Version: version.MustParse("1.28"), Default: true, PreRelease: featuregate.Beta},
|
||||||
|
{Version: version.MustParse("1.32"), Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.35
|
||||||
},
|
},
|
||||||
|
|
||||||
// inherited features from apiextensions-apiserver, relisted here to get a conflict if it is changed
|
// inherited features from apiextensions-apiserver, relisted here to get a conflict if it is changed
|
||||||
|
@ -29,7 +29,6 @@ const (
|
|||||||
|
|
||||||
// CronJobScheduledTimestampAnnotation is the scheduled timestamp annotation for the Job.
|
// CronJobScheduledTimestampAnnotation is the scheduled timestamp annotation for the Job.
|
||||||
// It records the original/expected scheduled timestamp for the running job, represented in RFC3339.
|
// It records the original/expected scheduled timestamp for the running job, represented in RFC3339.
|
||||||
// The CronJob controller adds this annotation if the CronJobsScheduledAnnotation feature gate (beta in 1.28) is enabled.
|
|
||||||
CronJobScheduledTimestampAnnotation = labelPrefix + "cronjob-scheduled-timestamp"
|
CronJobScheduledTimestampAnnotation = labelPrefix + "cronjob-scheduled-timestamp"
|
||||||
|
|
||||||
JobCompletionIndexAnnotation = labelPrefix + "job-completion-index"
|
JobCompletionIndexAnnotation = labelPrefix + "job-completion-index"
|
||||||
|
@ -286,6 +286,10 @@
|
|||||||
lockToDefault: false
|
lockToDefault: false
|
||||||
preRelease: Beta
|
preRelease: Beta
|
||||||
version: "1.28"
|
version: "1.28"
|
||||||
|
- default: true
|
||||||
|
lockToDefault: true
|
||||||
|
preRelease: GA
|
||||||
|
version: "1.32"
|
||||||
- name: CrossNamespaceVolumeDataSource
|
- name: CrossNamespaceVolumeDataSource
|
||||||
versionedSpecs:
|
versionedSpecs:
|
||||||
- default: false
|
- default: false
|
||||||
|
Loading…
Reference in New Issue
Block a user