Merge pull request #35104 from balaramvedulla/patch-1

Updates to Node affinity weight section
This commit is contained in:
Kubernetes Prow Robot
2022-07-25 00:16:58 -07:00
committed by GitHub
@@ -173,7 +173,7 @@ For example, consider the following Pod spec:
{{< codenew file="pods/pod-with-affinity-anti-affinity.yaml" >}}
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
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.