From 7b3d1b370f80b3087a36f8e383de65edbb048f80 Mon Sep 17 00:00:00 2001 From: Michail Kargakis Date: Sat, 12 Mar 2016 12:53:11 +0100 Subject: [PATCH] docs: pod affinity proposal fix --- docs/design/podaffinity.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/design/podaffinity.md b/docs/design/podaffinity.md index e0245a52d7d6e..1a2da4af82ce5 100644 --- a/docs/design/podaffinity.md +++ b/docs/design/podaffinity.md @@ -189,10 +189,10 @@ PodAntiAffinity { ``` Then when scheduling pod P, the scheduler -* Can only schedule P onto nodes that are running pods that satisfy `P1`. (Assumes all nodes have a label with key "node" and value specifying their node name.) -* Should try to schedule P onto zones that are running pods that satisfy `P3`. (Assumes all nodes have a label with key "zone" and value specifying their zone.) -* Cannot schedule P onto any racks that are running pods that satisfy `P2`. (Assumes all nodes have a label with key "rack" and value specifying their rack name.) -* Should try not to schedule P onto any power domains that are running pods that satisfy `P4`. (Assumes all nodes have a label with key "power" and value specifying their power domain.) +* Can only schedule P onto nodes that are running pods that satisfy `P1`. (Assumes all nodes have a label with key `node` and value specifying their node name.) +* Should try to schedule P onto zones that are running pods that satisfy `P2`. (Assumes all nodes have a label with key `zone` and value specifying their zone.) +* Cannot schedule P onto any racks that are running pods that satisfy `P3`. (Assumes all nodes have a label with key `rack` and value specifying their rack name.) +* Should try not to schedule P onto any power domains that are running pods that satisfy `P4`. (Assumes all nodes have a label with key `power` and value specifying their power domain.) When `RequiredDuringScheduling` has multiple elements, the requirements are ANDed. For `PreferredDuringScheduling` the weights are added for the terms that are satisfied for each node, and