Skip to content

Commit 58d150d

Browse files
Clarify node affinity API (#38032)
* Clarify node affinity API * Refer to the items by their names * Clarify cardinality
1 parent abc42e0 commit 58d150d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

content/en/docs/concepts/scheduling-eviction/assign-pod-node.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
reviewers:
33
- davidopp
44
- kevin-wangzefeng
5-
- bsalamat
5+
- alculquicondor
66
title: Assigning Pods to Nodes
77
content_type: concept
88
weight: 20
@@ -144,13 +144,13 @@ to repel Pods from specific nodes.
144144
If you specify both `nodeSelector` and `nodeAffinity`, *both* must be satisfied
145145
for the Pod to be scheduled onto a node.
146146

147-
If you specify multiple `nodeSelectorTerms` associated with `nodeAffinity`
148-
types, then the Pod can be scheduled onto a node if one of the specified `nodeSelectorTerms` can be
149-
satisfied.
147+
If you specify multiple terms in `nodeSelectorTerms` associated with `nodeAffinity`
148+
types, then the Pod can be scheduled onto a node if one of the specified terms
149+
can be satisfied (terms are ORed).
150150

151-
If you specify multiple `matchExpressions` associated with a single `nodeSelectorTerms`,
152-
then the Pod can be scheduled onto a node only if all the `matchExpressions` are
153-
satisfied.
151+
If you specify multiple expressions in a single `matchExpressions` field associated with a
152+
term in `nodeSelectorTerms`, then the Pod can be scheduled onto a node only
153+
if all the expressions are satisfied (expressions are ANDed).
154154
{{</note>}}
155155

156156
See [Assign Pods to Nodes using Node Affinity](/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/)

0 commit comments

Comments
 (0)