Skip to content

Commit b689d90

Browse files
Merge pull request #125374 from pwschuurman/kep-3335-stable
Promote StatefulSetStartOrdinal to stable in 1.31 Kubernetes-commit: 6e52e705d0c0a962fcfe0fc98b1015e517f16844
2 parents 9516298 + dc483d9 commit b689d90

9 files changed

+9
-21
lines changed

apps/v1/generated.proto

+1-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/v1/types.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,7 @@ type StatefulSetSpec struct {
262262

263263
// ordinals controls the numbering of replica indices in a StatefulSet. The
264264
// default ordinals behavior assigns a "0" index to the first replica and
265-
// increments the index by one for each additional replica requested. Using
266-
// the ordinals field requires the StatefulSetStartOrdinal feature gate to be
267-
// enabled, which is beta.
265+
// increments the index by one for each additional replica requested.
268266
// +optional
269267
Ordinals *StatefulSetOrdinals `json:"ordinals,omitempty" protobuf:"bytes,11,opt,name=ordinals"`
270268
}

apps/v1/types_swagger_doc_generated.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ var map_StatefulSetSpec = map[string]string{
355355
"revisionHistoryLimit": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.",
356356
"minReadySeconds": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)",
357357
"persistentVolumeClaimRetentionPolicy": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is beta.",
358-
"ordinals": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested. Using the ordinals field requires the StatefulSetStartOrdinal feature gate to be enabled, which is beta.",
358+
"ordinals": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested.",
359359
}
360360

361361
func (StatefulSetSpec) SwaggerDoc() map[string]string {

apps/v1beta1/generated.proto

+1-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/v1beta1/types.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,7 @@ type StatefulSetSpec struct {
297297

298298
// ordinals controls the numbering of replica indices in a StatefulSet. The
299299
// default ordinals behavior assigns a "0" index to the first replica and
300-
// increments the index by one for each additional replica requested. Using
301-
// the ordinals field requires the StatefulSetStartOrdinal feature gate to be
302-
// enabled, which is beta.
300+
// increments the index by one for each additional replica requested.
303301
// +optional
304302
Ordinals *StatefulSetOrdinals `json:"ordinals,omitempty" protobuf:"bytes,11,opt,name=ordinals"`
305303
}

apps/v1beta1/types_swagger_doc_generated.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ var map_StatefulSetSpec = map[string]string{
259259
"revisionHistoryLimit": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.",
260260
"minReadySeconds": "minReadySeconds is the minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)",
261261
"persistentVolumeClaimRetentionPolicy": "PersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha.",
262-
"ordinals": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested. Using the ordinals field requires the StatefulSetStartOrdinal feature gate to be enabled, which is beta.",
262+
"ordinals": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested.",
263263
}
264264

265265
func (StatefulSetSpec) SwaggerDoc() map[string]string {

apps/v1beta2/generated.proto

+1-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/v1beta2/types.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,7 @@ type StatefulSetSpec struct {
307307

308308
// ordinals controls the numbering of replica indices in a StatefulSet. The
309309
// default ordinals behavior assigns a "0" index to the first replica and
310-
// increments the index by one for each additional replica requested. Using
311-
// the ordinals field requires the StatefulSetStartOrdinal feature gate to be
312-
// enabled, which is beta.
310+
// increments the index by one for each additional replica requested.
313311
// +optional
314312
Ordinals *StatefulSetOrdinals `json:"ordinals,omitempty" protobuf:"bytes,11,opt,name=ordinals"`
315313
}

apps/v1beta2/types_swagger_doc_generated.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ var map_StatefulSetSpec = map[string]string{
383383
"revisionHistoryLimit": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.",
384384
"minReadySeconds": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)",
385385
"persistentVolumeClaimRetentionPolicy": "PersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha.",
386-
"ordinals": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested. Using the ordinals field requires the StatefulSetStartOrdinal feature gate to be enabled, which is beta.",
386+
"ordinals": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested.",
387387
}
388388

389389
func (StatefulSetSpec) SwaggerDoc() map[string]string {

0 commit comments

Comments
 (0)