Skip to content

Commit

Permalink
Merge pull request #47290 from Arhell/zh-link
Browse files Browse the repository at this point in the history
[zh] Fix the wrong link in default storage classes
  • Loading branch information
k8s-ci-robot authored Jul 29, 2024
2 parents 202f1cd + 652826b commit 9c68861
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/zh-cn/docs/concepts/storage/storage-classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ used.

<!--
If you set the
[`storageclass.kubernetes.io/is-default-class`](/docs/reference/labels-annotations-taints/#ingressclass-kubernetes-io-is-default-class)
[`storageclass.kubernetes.io/is-default-class`](/docs/reference/labels-annotations-taints/#storageclass-kubernetes-io-is-default-class)
annotation to true on more than one StorageClass in your cluster, and you then
create a PersistentVolumeClaim with no `storageClassName` set, Kubernetes
uses the most recently created default StorageClass.
-->
如果你在集群中的多个 StorageClass 上将
[`storageclass.kubernetes.io/is-default-class`](/zh-cn/docs/reference/labels-annotations-taints/#ingressclass-kubernetes-io-is-default-class)
[`storageclass.kubernetes.io/is-default-class`](/zh-cn/docs/reference/labels-annotations-taints/#storageclass-kubernetes-io-is-default-class)
注解设置为 true,然后创建一个未设置 `storageClassName` 的 PersistentVolumeClaim (PVC),
Kubernetes 将使用最近创建的默认 StorageClass。

Expand Down

0 comments on commit 9c68861

Please sign in to comment.