@@ -16,22 +16,21 @@ content_type: concept
1616
1717<!-- overview -->
1818
19- <!-- This page describes the maximum number of volumes that can be attached
20- to a Node for various cloud providers. -->
19+ <!--
20+ This page describes the maximum number of volumes that can be attached
21+ to a Node for various cloud providers.
22+ -->
2123此页面描述了各个云供应商可关联至一个节点的最大卷数。
2224
23- <!-- Cloud providers like Google, Amazon, and Microsoft typically have a limit on
25+ <!--
26+ Cloud providers like Google, Amazon, and Microsoft typically have a limit on
2427how many volumes can be attached to a Node. It is important for Kubernetes to
2528respect those limits. Otherwise, Pods scheduled on a Node could get stuck
26- waiting for volumes to attach. -->
27-
29+ waiting for volumes to attach.
30+ -->
2831谷歌、亚马逊和微软等云供应商通常对可以关联到节点的卷数量进行限制。
2932Kubernetes 需要尊重这些限制。 否则,在节点上调度的 Pod 可能会卡住去等待卷的关联。
3033
31-
32-
33-
34-
3534<!-- body -->
3635
3736<!--
@@ -40,7 +39,6 @@ Kubernetes 需要尊重这些限制。 否则,在节点上调度的 Pod 可能
4039The Kubernetes scheduler has default limits on the number of volumes
4140that can be attached to a Node:
4241-->
43-
4442## Kubernetes 的默认限制
4543
4644The Kubernetes 调度器对关联于一个节点的卷数有默认限制:
@@ -73,20 +71,18 @@ the limit you set.
7371
7472The limit applies to the entire cluster, so it affects all Nodes.
7573-->
76-
7774## 自定义限制
7875
79- 您可以通过设置 ` KUBE_MAX_PD_VOLS ` 环境变量的值来设置这些限制,然后再启动调度器。
76+ 你可以通过设置 ` KUBE_MAX_PD_VOLS ` 环境变量的值来设置这些限制,然后再启动调度器。
8077CSI 驱动程序可能具有不同的过程,关于如何自定义其限制请参阅相关文档。
8178
82- 如果设置的限制高于默认限制,请谨慎使用。请参阅云提供商的文档以确保节点可支持您设置的限制 。
79+ 如果设置的限制高于默认限制,请谨慎使用。请参阅云提供商的文档以确保节点可支持你设置的限制 。
8380
8481此限制应用于整个集群,所以它会影响所有节点。
8582
8683<!--
8784## Dynamic volume limits
8885-->
89-
9086## 动态卷限制
9187
9288{{< feature-state state="stable" for_k8s_version="v1.17" >}}
@@ -99,7 +95,6 @@ Dynamic volume limits are supported for following volume types.
9995- Azure Disk
10096- CSI
10197-->
102-
10398以下卷类型支持动态卷限制。
10499
105100- Amazon EBS
@@ -111,7 +106,6 @@ Dynamic volume limits are supported for following volume types.
111106For volumes managed by in-tree volume plugins, Kubernetes automatically determines the Node
112107type and enforces the appropriate maximum number of volumes for the node. For example:
113108-->
114-
115109对于由内建插件管理的卷,Kubernetes 会自动确定节点类型并确保节点上可关联的卷数目合规。 例如:
116110
117111<!--
@@ -132,7 +126,6 @@ Refer to the [CSI specifications](https://github.com/container-storage-interface
132126
133127* For volumes managed by in-tree plugins that have been migrated to a CSI driver, the maximum number of volumes will be the one reported by the CSI driver.
134128-->
135-
136129* 在
137130<a href =" https://cloud.google.com/compute/ " >Google Compute Engine</a >环境中,
138131[ 根据节点类型] ( https://cloud.google.com/compute/docs/disks/#pdnumberlimits ) 最多可以将127个卷关联到节点。
0 commit comments