File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
content/zh-cn/docs/reference/labels-annotations-taints Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -5311,6 +5311,42 @@ ignores that node while calculating Topology Aware Hints.
5311
5311
或者避免在控制平面上运行 Pod。如果设置了此标签,
5312
5312
[EndpointSlice 控制器](/zh-cn/docs/concepts/services-networking/topology-aware-routing/#implementation-control-plane)在计算拓扑感知提示时将忽略该节点。
5313
5313
5314
+ <!--
5315
+ # ## node-role.kubernetes.io/*
5316
+
5317
+ Type : Label
5318
+
5319
+ Example : ` node-role.kubernetes.io/gpu: gpu`
5320
+
5321
+ Used on : Node
5322
+ -->
5323
+ # ## node-role.kubernetes.io/*
5324
+
5325
+ 类别:标签
5326
+
5327
+ 示例:`node-role.kubernetes.io/control-plane:NoSchedule`
5328
+
5329
+ 用于:Node
5330
+
5331
+ <!--
5332
+ This optional label is applied to a node when you want to mark a node role.
5333
+ The node role (text following `/` in the label key) can be set, as long as the overall key follows the
5334
+ [syntax](/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set) rules for
5335
+ object labels.
5336
+ -->
5337
+ 当你希望标记节点角色时,可以为 Node 添加此可选标签。
5338
+ 只要标签的整体键名符合对象标签的
5339
+ [语法和字符集规则](/zh-cn/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set),
5340
+ 就可以用此标签设置节点的角色(标签键 `/` 后面的文本为节点角色名)。
5341
+
5342
+ <!--
5343
+ Kubernetes defines one specific node role, **control-plane**. A label you can use to mark that node
5344
+ role is [`node-role.kubernetes.io/control-plane`](#node-role-kubernetes-io-control-plane).
5345
+ -->
5346
+ Kubernetes 定义了一个特定的节点角色:**control-plane(控制平面)**。你可以使用标签
5347
+ [`node-role.kubernetes.io/control-plane`](#node-role-kubernetes-io-control-plane)
5348
+ 来标记节点的这一角色。
5349
+
5314
5350
<!--
5315
5351
# ## node-role.kubernetes.io/control-plane {#node-role-kubernetes-io-control-plane-taint}
5316
5352
You can’t perform that action at this time.
0 commit comments