Skip to content

Commit

Permalink
Remove StatefulSetStartOrdinal feature gate to target stable in 1.31
Browse files Browse the repository at this point in the history
  • Loading branch information
pwschuurman committed Jul 9, 2024
1 parent dea8689 commit c5205da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
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

0 comments on commit c5205da

Please sign in to comment.