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
description: "Node is a worker node in Kubernetes."
18
18
title: "Node"
19
-
weight: 1
19
+
weight: 8
20
+
auto_generated: true
20
21
-->
21
22
22
23
`apiVersion: v1`
@@ -173,9 +174,13 @@ NodeSpec 描述了创建节点时使用的属性。
173
174
174
175
-**podCIDRs** ([]string)
175
176
176
-
<!--
177
+
<!--
178
+
*Set: unique values will be kept during a merge*
179
+
177
180
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.
178
181
-->
182
+
**集合:唯一值将在合并期间被保留**
183
+
179
184
podCIDRs 表示分配给节点以供该节点上的 Pod 使用的 IP 范围。
180
185
如果指定了该字段,则第 0 个条目必须与 podCIDR 字段匹配。
181
186
对于 IPv4 和 IPv6,它最多可以包含 1 个值。
@@ -189,9 +194,13 @@ NodeSpec 描述了创建节点时使用的属性。
189
194
190
195
-**taints** ([]Taint)
191
196
192
-
<!--
197
+
<!--
198
+
*Atomic: will be replaced during a merge*
199
+
193
200
If specified, the node's taints.
194
201
-->
202
+
**原子:将在合并期间被替换**
203
+
195
204
如果设置了,则为节点的污点。
196
205
197
206
<aname="Taint"></a>
@@ -268,10 +277,14 @@ NodeStatus 是有关节点当前状态的信息。
268
277
<!--
269
278
*Patch strategy: merge on key `type`*
270
279
280
+
*Map: unique values on key type will be kept during a merge*
281
+
271
282
List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).
Features describes the set of features implemented by the CRI implementation.
755
+
756
+
<a name="NodeFeatures"></a>
757
+
*NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers.*
758
+
-->
759
+
-**features** (NodeFeatures)
760
+
761
+
features 描述由 CRI 实现所实现的一组特性。
762
+
763
+
<aname="NodeFeatures"></a>
764
+
**NodeFeatures 描述由 CRI 实现所实现的一组特性。
765
+
NodeFeatures 中包含的特性应仅依赖于 CRI 实现,而与运行时处理程序无关。**
766
+
767
+
-**features.supplementalGroupsPolicy** (boolean)
768
+
769
+
<!--
770
+
SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.
0 commit comments