You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.
71
72
72
73
<a name="CSINodeDriver"></a>
73
74
*CSINodeDriver holds information about the specification of one CSI driver installed on a node*
74
75
75
76
- **drivers.name** (string), required
76
77
77
-
This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
78
+
name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
name 表示该对象引用的 CSI 驱动的名称。此字段值必须是针对该驱动由 CSI GetPluginName() 调用返回的相同名称。
91
92
92
-
<!--
93
+
<!--
93
94
- **drivers.nodeID** (string), required
94
95
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
它可以藉此字段使用存储系统所理解的 ID 引用节点名称,例如使用 “nodeA” 而不是 “node1”。
103
105
此字段是必需的。
104
106
105
-
<!--
107
+
<!--
106
108
- **drivers.allocatable** (VolumeNodeResources)
109
+
107
110
allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
108
111
109
112
<a name="VolumeNodeResources"></a>
110
113
*VolumeNodeResources is a set of resource limits for scheduling of volumes.*
114
+
-->
111
115
112
-
- **drivers.allocatable.count** (int32)
113
-
Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
114
-
-->
115
116
-**drivers.allocatable** (VolumeNodeResources)
116
117
117
118
allocatable 表示一个节点上可供调度的卷资源。此字段处于 beta 阶段。
118
-
119
+
119
120
<aname="VolumeNodeResources"></a>
121
+
120
122
**VolumeNodeResources 是调度卷时所用的一组资源限制。**
121
-
123
+
<!--
124
+
- **drivers.allocatable.count** (int32)
125
+
126
+
count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
127
+
-->
128
+
122
129
-**drivers.allocatable.count** (int32)
123
130
124
131
这是一个节点上可使用的、由 CSI 驱动管理的独立卷个数的上限。
125
132
挂接并挂载到一个节点上的卷被视为被使用一次,不是两次。
126
133
相同的规则适用于同一个节点上多个 Pod 之间共享的同一个卷。
127
134
如果未指定此字段,则该节点上支持的卷数量是无限的。
128
135
129
-
<!--
136
+
<!--
130
137
- **drivers.topologyKeys** ([]string)
131
138
132
139
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
133
-
-->
140
+
-->
141
+
134
142
-**drivers.topologyKeys** ([]string)
135
143
136
144
topologyKeys 是驱动支持的键的列表。
@@ -181,6 +189,7 @@ CSINodeList 是 CSINode 对象的集合。
181
189
<hr>
182
190
183
191
### `get` 读取指定的 CSINode
192
+
184
193
#### HTTP 请求
185
194
186
195
GET /apis/storage.k8s.io/v1/csinodes/{name}
@@ -263,6 +272,10 @@ GET /apis/storage.k8s.io/v1/csinodes
0 commit comments