Skip to content

Commit 0ac5ef9

Browse files
committed
[zh] Sync storage-version-migration.md
1 parent d14b586 commit 0ac5ef9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

content/zh-cn/docs/tasks/manage-kubernetes-objects/storage-version-migration.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,23 @@ Install [`kubectl`](/docs/tasks/tools/#kubectl).
4040

4141
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
4242

43+
<!--
44+
Ensure that your cluster has the `StorageVersionMigrator` and `InformerResourceVersion`
45+
[feature gates](/docs/reference/command-line-tools-reference/feature-gates/)
46+
enabled. You will need control plane administrator access to make that change.
47+
48+
Enable storage version migration REST api by setting runtime config
49+
`storagemigration.k8s.io/v1alpha1` to `true` for the API server. For more information on
50+
how to do that,
51+
read [enable or disable a Kubernetes API](/docs/tasks/administer-cluster/enable-disable-api/).
52+
-->
53+
确保你的集群启用了 `StorageVersionMigrator``InformerResourceVersion`
54+
[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)
55+
你需要有控制平面管理员权限才能执行此项变更。
56+
57+
在 API 服务器上将运行时配置 `storagemigration.k8s.io/v1alpha1` 设为 `true`,启用存储版本迁移 REST API。
58+
有关如何执行此操作的更多信息,请阅读[启用或禁用 Kubernetes API](/zh-cn/docs/tasks/administer-cluster/enable-disable-api/)
59+
4360
<!-- steps -->
4461

4562
<!--

0 commit comments

Comments
 (0)