[zh-cn]Update content/zh-cn/docs/concepts/scheduling-eviction/assign-pod-node.md

This commit is contained in:
Kinzhi
2022-07-26 01:10:56 +08:00
parent 2e517200da
commit 6cbc3d0775
@@ -333,12 +333,12 @@ For example, consider the following Pod spec:
<!-- <!--
If there are two possible nodes that match the If there are two possible nodes that match the
`requiredDuringSchedulingIgnoredDuringExecution` rule, one with the `preferredDuringSchedulingIgnoredDuringExecution` rule, one with the
`label-1:key-1` label and another with the `label-2:key-2` label, the scheduler `label-1:key-1` label and another with the `label-2:key-2` label, the scheduler
considers the `weight` of each node and adds the weight to the other scores for considers the `weight` of each node and adds the weight to the other scores for
that node, and schedules the Pod onto the node with the highest final score. that node, and schedules the Pod onto the node with the highest final score.
--> -->
如果存在两个候选节点,都满足 `requiredDuringSchedulingIgnoredDuringExecution` 规则, 如果存在两个候选节点,都满足 `preferredDuringSchedulingIgnoredDuringExecution` 规则,
其中一个节点具有标签 `label-1:key-1`,另一个节点具有标签 `label-2:key-2` 其中一个节点具有标签 `label-1:key-1`,另一个节点具有标签 `label-2:key-2`
调度器会考察各个节点的 `weight` 取值,并将该权重值添加到节点的其他得分值之上, 调度器会考察各个节点的 `weight` 取值,并将该权重值添加到节点的其他得分值之上,