Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zh-cn]sync labels-annotations-taints/_index.md #49862

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions content/zh-cn/docs/reference/labels-annotations-taints/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5311,6 +5311,42 @@ ignores that node while calculating Topology Aware Hints.
或者避免在控制平面上运行 Pod。如果设置了此标签,
[EndpointSlice 控制器](/zh-cn/docs/concepts/services-networking/topology-aware-routing/#implementation-control-plane)在计算拓扑感知提示时将忽略该节点。

<!--
### node-role.kubernetes.io/*

Type: Label

Example: `node-role.kubernetes.io/gpu: gpu`

Used on: Node
-->
### node-role.kubernetes.io/*

类别:标签

示例:`node-role.kubernetes.io/control-plane:NoSchedule`

用于:Node

<!--
This optional label is applied to a node when you want to mark a node role.
The node role (text following `/` in the label key) can be set, as long as the overall key follows the
[syntax](/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set) rules for
object labels.
-->
当你希望标记节点角色时,可以为 Node 添加此可选标签。
只要标签的整体键名符合对象标签的
[语法和字符集规则](/zh-cn/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set),
就可以用此标签设置节点的角色(标签键 `/` 后面的文本为节点角色名)。

<!--
Kubernetes defines one specific node role, **control-plane**. A label you can use to mark that node
role is [`node-role.kubernetes.io/control-plane`](#node-role-kubernetes-io-control-plane).
-->
Kubernetes 定义了一个特定的节点角色:**control-plane(控制平面)**。你可以使用标签
[`node-role.kubernetes.io/control-plane`](#node-role-kubernetes-io-control-plane)
来标记节点的这一角色。

<!--
### node-role.kubernetes.io/control-plane {#node-role-kubernetes-io-control-plane-taint}

Expand Down