Skip to content

Commit dc21100

Browse files
authored
Merge pull request #49071 from my-git9/pp-4870
[zh-cn]sync persistent-volumes.md
2 parents 90c8579 + 558f937 commit dc21100

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

content/zh-cn/docs/concepts/storage/persistent-volumes.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -833,25 +833,23 @@ administrator intervention.
833833

834834
{{% /tab %}}
835835
{{% tab name="通过请求扩展为更小尺寸" %}}
836-
{{% feature-state for_k8s_version="v1.23" state="alpha" %}}
836+
{{< feature-state feature_gate_name="RecoverVolumeExpansionFailure" >}}
837837

838838
{{< note >}}
839839
<!--
840-
Recovery from failing PVC expansion by users is available as an alpha feature
841-
since Kubernetes 1.23. The `RecoverVolumeExpansionFailure` feature must be
842-
enabled for this feature to work. Refer to the
840+
Recovery from failing PVC expansion by users (`RecoverVolumeExpansionFailure`) is available as an beta feature
841+
since Kubernetes 1.32 and should be enabled by default. Refer to the
843842
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
844843
documentation for more information.
845844
-->
846-
Kubernetes 从 1.23 版本开始将允许用户恢复失败的 PVC 扩展这一能力作为
847-
Alpha 特性支持。`RecoverVolumeExpansionFailure` 必须被启用以允许使用此特性
845+
Kubernetes 从 1.32 版本开始将允许用户恢复失败的 PVC 扩展(`RecoverVolumeExpansionFailure`),
846+
这一特性目前为 Beta 阶段
848847
可参考[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)
849848
文档了解更多信息。
850849
{{< /note >}}
851850

852851
<!--
853-
If the feature gates `RecoverVolumeExpansionFailure` is
854-
enabled in your cluster, and expansion has failed for a PVC, you can retry expansion with a
852+
When using `RecoverVolumeExpansionFailure` feature, if expansion has failed for a PVC, you can retry expansion with a
855853
smaller size than the previously requested value. To request a new expansion attempt with a
856854
smaller proposed size, edit `.spec.resources` for that PVC and choose a value that is less than the
857855
value you previously tried.
@@ -860,8 +858,8 @@ If that has happened, or you suspect that it might have, you can retry expansion
860858
size that is within the capacity limits of underlying storage provider. You can monitor status of
861859
resize operation by watching `.status.allocatedResourceStatuses` and events on the PVC.
862860
-->
863-
如果集群中的特性门控 `RecoverVolumeExpansionFailure`
864-
已启用,在 PVC 的扩展发生失败时,你可以使用比先前请求的值更小的尺寸来重试扩展。
861+
使用 `RecoverVolumeExpansionFailure` 特性时,如果 PVC 扩展失败,
862+
你可以使用比先前请求的值更小的尺寸来重试扩展。
865863
要使用一个更小的尺寸尝试请求新的扩展,请编辑该 PVC 的 `.spec.resources`
866864
并选择一个比你之前所尝试的值更小的值。
867865
如果由于容量限制而无法成功扩展至更高的值,这将很有用。

0 commit comments

Comments
 (0)