Merge pull request #27236 from ydFu/update-change-default-storage-class

[zh] Sync tasks pages for change-default-storage-class.md
pull/27240/head
Kubernetes Prow Robot 2021-03-26 02:16:43 -07:00 committed by GitHub
commit f2df7eff7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -43,11 +43,11 @@ dynamic provisioning of storage.
如果是这样的话,你可以改变默认 StorageClass或者完全禁用它以防止动态配置存储。 如果是这样的话,你可以改变默认 StorageClass或者完全禁用它以防止动态配置存储。
<!-- <!--
Simply deleting the default StorageClass may not work, as it may be re-created Deleting the default StorageClass may not work, as it may be re-created
automatically by the addon manager running in your cluster. Please consult the docs for your installation automatically by the addon manager running in your cluster. Please consult the docs for your installation
for details about addon manager and how to disable individual addons. for details about addon manager and how to disable individual addons.
--> -->
简单的删除默认 StorageClass 可能行不通,因为它可能会被你集群中的扩展管理器自动重建。 删除默认 StorageClass 可能行不通,因为它可能会被你集群中的扩展管理器自动重建。
请查阅你的安装文档中关于扩展管理器的细节,以及如何禁用单个扩展。 请查阅你的安装文档中关于扩展管理器的细节,以及如何禁用单个扩展。
@ -107,7 +107,7 @@ for details about addon manager and how to disable individual addons.
3. 标记一个 StorageClass 为默认的: 3. 标记一个 StorageClass 为默认的:
<!-- <!--
Similarly to the previous step, you need to add/set the annotation Similar to the previous step, you need to add/set the annotation
`storageclass.kubernetes.io/is-default-class=true`. `storageclass.kubernetes.io/is-default-class=true`.
--> -->
和前面的步骤类似,你需要添加/设置注解 `storageclass.kubernetes.io/is-default-class=true` 和前面的步骤类似,你需要添加/设置注解 `storageclass.kubernetes.io/is-default-class=true`