Skip to content

Commit

Permalink
Fix the ambiguous sentence in topologySpreadConstraints
Browse files Browse the repository at this point in the history
  • Loading branch information
scheduler-tester authored Sep 16, 2024
1 parent c6d72f9 commit 04b6fdf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,8 @@ There are some implicit conventions worth noting here:

- Only the Pods holding the same namespace as the incoming Pod can be matching candidates.

- The scheduler bypasses any nodes that don't have any `topologySpreadConstraints[*].topologyKey`
present. This implies that:
- The scheduler only considers nodes that have all `topologySpreadConstraints[*].topologyKey` present at the same time.
Nodes missing any of these `topologyKeys` are bypassed. This implies that:

1. any Pods located on those bypassed nodes do not impact `maxSkew` calculation - in the
above [example](#example-conflicting-topologyspreadconstraints), suppose the node `node1`
Expand Down

0 comments on commit 04b6fdf

Please sign in to comment.