Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove StatefulSetStartOrdinal feature gate to target stable in 1.31 #46719

Merged
merged 1 commit into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions content/en/docs/concepts/workloads/controllers/statefulset.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,11 @@ will also add a pod label with this index: `apps.kubernetes.io/pod-index`.

### Start ordinal

{{< feature-state for_k8s_version="v1.27" state="beta" >}}
{{< feature-state feature_gate_name="StatefulSetStartOrdinal" >}}

`.spec.ordinals` is an optional field that allows you to configure the integer
ordinals assigned to each Pod. It defaults to nil. You must enable the
`StatefulSetStartOrdinal`
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) to
use this field. Once enabled, you can configure the following options:
ordinals assigned to each Pod. It defaults to nil. Within the field, you can
configure the following options:

* `.spec.ordinals.start`: If the `.spec.ordinals.start` field is set, Pods will
be assigned ordinals from `.spec.ordinals.start` up through
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ stages:
- stage: beta
defaultValue: true
fromVersion: "1.27"
toVersion: "1.30"
- stage: stable
defaultValue: true
fromVersion: "1.31"
---
Allow configuration of the start ordinal in a
StatefulSet. See
Expand Down