Skip to content

Commit 654ffd4

Browse files
author
Mengjiao Liu
committed
[zh-cn] Improve feature gate StatefulSetAutoDeletePVC description
1 parent 4fdf1e2 commit 654ffd4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/zh-cn/docs/concepts/workloads/controllers/statefulset.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,12 +622,12 @@ StatefulSet 才会开始使用被还原的模板来重新创建 Pod。
622622
The optional `.spec.persistentVolumeClaimRetentionPolicy` field controls if
623623
and how PVCs are deleted during the lifecycle of a StatefulSet. You must enable the
624624
`StatefulSetAutoDeletePVC` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
625-
to use this field. Once enabled, there are two policies you can configure for each
626-
StatefulSet:
625+
on the API server and the controller manager to use this field.
626+
Once enabled, there are two policies you can configure for each StatefulSet:
627627
-->
628628
在 StatefulSet 的生命周期中,可选字段
629629
`.spec.persistentVolumeClaimRetentionPolicy` 控制是否删除以及如何删除 PVC。
630-
使用该字段,你必须启用 `StatefulSetAutoDeletePVC`
630+
使用该字段,你必须在 API 服务器和控制器管理器启用 `StatefulSetAutoDeletePVC`
631631
[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)。
632632
启用后,你可以为每个 StatefulSet 配置两个策略:
633633

0 commit comments

Comments
 (0)