File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
content/zh-cn/docs/concepts/workloads/controllers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -622,12 +622,12 @@ StatefulSet 才会开始使用被还原的模板来重新创建 Pod。
622
622
The optional `.spec.persistentVolumeClaimRetentionPolicy` field controls if
623
623
and how PVCs are deleted during the lifecycle of a StatefulSet. You must enable the
624
624
` 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 :
627
627
-->
628
628
在 StatefulSet 的生命周期中,可选字段
629
629
` .spec.persistentVolumeClaimRetentionPolicy` 控制是否删除以及如何删除 PVC。
630
- 使用该字段,你必须启用 `StatefulSetAutoDeletePVC`
630
+ 使用该字段,你必须在 API 服务器和控制器管理器启用 `StatefulSetAutoDeletePVC`
631
631
[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)。
632
632
启用后,你可以为每个 StatefulSet 配置两个策略:
633
633
You can’t perform that action at this time.
0 commit comments