File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
content/zh-cn/docs/concepts/workloads/controllers Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -294,19 +294,15 @@ StatefulSet 的控制器也会添加一个包含此索引的 Pod 标签:`apps.
294
294
-->
295
295
# ## 起始序号 {#start-ordinal}
296
296
297
- {{< feature-state for_k8s_version="v1.27" state="beta " >}}
297
+ {{< feature-state feature_gate_name="StatefulSetStartOrdinal " >}}
298
298
299
299
<!--
300
300
` .spec.ordinals` is an optional field that allows you to configure the integer
301
- ordinals assigned to each Pod. It defaults to nil. You must enable the
302
- ` StatefulSetStartOrdinal`
303
- [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) to
304
- use this field. Once enabled, you can configure the following options :
301
+ ordinals assigned to each Pod. It defaults to nil. Within the field, you can
302
+ configure the following options :
305
303
-->
306
304
` .spec.ordinals` 是一个可选的字段,允许你配置分配给每个 Pod 的整数序号。
307
- 该字段默认为 nil 值。你必须启用 `StatefulSetStartOrdinal`
308
- [特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)才能使用此字段。
309
- 一旦启用,你就可以配置以下选项:
305
+ 该字段默认为 nil 值。在该字段内,你可以配置以下选项:
310
306
311
307
<!--
312
308
* `.spec.ordinals.start`: If the `.spec.ordinals.start` field is set, Pods will
You can’t perform that action at this time.
0 commit comments