Skip to content

Commit 777c36c

Browse files
committed
[zh-cn] sync docs/concepts/scheduling-eviction/topology-spread-constraints.md
1 parent 5ce3d5c commit 777c36c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/zh-cn/docs/concepts/scheduling-eviction/topology-spread-constraints.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -745,8 +745,8 @@ There are some implicit conventions worth noting here:
745745
746746
- Only the Pods holding the same namespace as the incoming Pod can be matching candidates.
747747
748-
- The scheduler bypasses any nodes that don't have any `topologySpreadConstraints[*].topologyKey`
749-
present. This implies that:
748+
- The scheduler only considers nodes that have all `topologySpreadConstraints[*].topologyKey` present at the same time.
749+
Nodes missing any of these `topologyKeys` are bypassed. This implies that:
750750
751751
1. any Pods located on those bypassed nodes do not impact `maxSkew` calculation - in the
752752
above [example](#example-conflicting-topologyspreadconstraints), suppose the node `node1`
@@ -763,7 +763,7 @@ There are some implicit conventions worth noting here:
763763
764764
- 只有与新来的 Pod 具有相同命名空间的 Pod 才能作为匹配候选者。
765765
766-
- 调度器会忽略没有任何 `topologySpreadConstraints[*].topologyKey` 的节点。这意味着:
766+
- 调度器只考虑同时拥有所有 `topologySpreadConstraints[*].topologyKey` 的节点。缺少任何一个 `topologyKey` 的节点将被跳过。这意味着:
767767
768768
1. 位于这些节点上的 Pod 不影响 `maxSkew` 计算,在上面的[例子](#example-conflicting-topologyspreadconstraints)中,
769769
假设节点 `node1` 没有标签 "zone",则 2 个 Pod 将被忽略,因此新来的

0 commit comments

Comments
 (0)