@@ -16,22 +16,21 @@ content_type: concept
16
16
17
17
<!-- overview -->
18
18
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
+ -->
21
23
此页面描述了各个云供应商可关联至一个节点的最大卷数。
22
24
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
24
27
how many volumes can be attached to a Node. It is important for Kubernetes to
25
28
respect 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
+ -->
28
31
谷歌、亚马逊和微软等云供应商通常对可以关联到节点的卷数量进行限制。
29
32
Kubernetes 需要尊重这些限制。 否则,在节点上调度的 Pod 可能会卡住去等待卷的关联。
30
33
31
-
32
-
33
-
34
-
35
34
<!-- body -->
36
35
37
36
<!--
@@ -40,7 +39,6 @@ Kubernetes 需要尊重这些限制。 否则,在节点上调度的 Pod 可能
40
39
The Kubernetes scheduler has default limits on the number of volumes
41
40
that can be attached to a Node:
42
41
-->
43
-
44
42
## Kubernetes 的默认限制
45
43
46
44
The Kubernetes 调度器对关联于一个节点的卷数有默认限制:
@@ -73,20 +71,18 @@ the limit you set.
73
71
74
72
The limit applies to the entire cluster, so it affects all Nodes.
75
73
-->
76
-
77
74
## 自定义限制
78
75
79
- 您可以通过设置 ` KUBE_MAX_PD_VOLS ` 环境变量的值来设置这些限制,然后再启动调度器。
76
+ 你可以通过设置 ` KUBE_MAX_PD_VOLS ` 环境变量的值来设置这些限制,然后再启动调度器。
80
77
CSI 驱动程序可能具有不同的过程,关于如何自定义其限制请参阅相关文档。
81
78
82
- 如果设置的限制高于默认限制,请谨慎使用。请参阅云提供商的文档以确保节点可支持您设置的限制 。
79
+ 如果设置的限制高于默认限制,请谨慎使用。请参阅云提供商的文档以确保节点可支持你设置的限制 。
83
80
84
81
此限制应用于整个集群,所以它会影响所有节点。
85
82
86
83
<!--
87
84
## Dynamic volume limits
88
85
-->
89
-
90
86
## 动态卷限制
91
87
92
88
{{< feature-state state="stable" for_k8s_version="v1.17" >}}
@@ -99,7 +95,6 @@ Dynamic volume limits are supported for following volume types.
99
95
- Azure Disk
100
96
- CSI
101
97
-->
102
-
103
98
以下卷类型支持动态卷限制。
104
99
105
100
- Amazon EBS
@@ -111,7 +106,6 @@ Dynamic volume limits are supported for following volume types.
111
106
For volumes managed by in-tree volume plugins, Kubernetes automatically determines the Node
112
107
type and enforces the appropriate maximum number of volumes for the node. For example:
113
108
-->
114
-
115
109
对于由内建插件管理的卷,Kubernetes 会自动确定节点类型并确保节点上可关联的卷数目合规。 例如:
116
110
117
111
<!--
@@ -132,7 +126,6 @@ Refer to the [CSI specifications](https://github.com/container-storage-interface
132
126
133
127
* 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.
134
128
-->
135
-
136
129
* 在
137
130
<a href =" https://cloud.google.com/compute/ " >Google Compute Engine</a >环境中,
138
131
[ 根据节点类型] ( https://cloud.google.com/compute/docs/disks/#pdnumberlimits ) 最多可以将127个卷关联到节点。
0 commit comments