@@ -9,6 +9,7 @@ reviewers:
9
9
- davidopp
10
10
- kevin-wangzefeng
11
11
- bsalamat
12
+ - alculquicondor
12
13
title: Assigning Pods to Nodes
13
14
content_type: concept
14
15
weight: 20
@@ -278,20 +279,20 @@ for the Pod to be scheduled onto a node.
278
279
才能将 Pod 调度到候选节点上。
279
280
280
281
<!--
281
- If you specify multiple `nodeSelectorTerms` associated with `nodeAffinity`
282
- types, then the Pod can be scheduled onto a node if one of the specified `nodeSelectorTerms` can be
283
- satisfied.
282
+ If you specify multiple terms in `nodeSelectorTerms` associated with `nodeAffinity`
283
+ types, then the Pod can be scheduled onto a node if one of the specified terms
284
+ can be satisfied (terms are ORed) .
284
285
-->
285
- 如果你指定了多个与 ` nodeAffinity ` 类型关联的 ` nodeSelectorTerms ` ,
286
- 只要其中一个 ` nodeSelectorTerms ` 满足的话 ,Pod 就可以被调度到节点上。
286
+ 如果你在与 nodeAffinity 类型关联的 nodeSelectorTerms 中指定多个条件 ,
287
+ 只要其中一个 ` nodeSelectorTerms ` 满足(各个条件按逻辑或操作组合)的话 ,Pod 就可以被调度到节点上。
287
288
288
289
<!--
289
- If you specify multiple `matchExpressions` associated with a single `nodeSelectorTerms`,
290
- then the Pod can be scheduled onto a node only if all the `matchExpressions` are
291
- satisfied.
290
+ If you specify multiple expressions in a single `matchExpressions` field associated with a
291
+ term in `nodeSelectorTerms`, then the Pod can be scheduled onto a node only
292
+ if all the expressions are satisfied (expressions are ANDed) .
292
293
-->
293
- 如果你指定了多个与同一 ` nodeSelectorTerms ` 关联的 ` matchExpressions ` ,
294
- 则只有当所有 ` matchExpressions ` 都满足时 Pod 才可以被调度到节点上 。
294
+ 如果你在与 ` nodeSelectorTerms ` 中的条件相关联的单个 ` matchExpressions ` 字段中指定多个表达式 ,
295
+ 则只有当所有表达式都满足(各表达式按逻辑与操作组合)时, Pod 才能被调度到节点上 。
295
296
{{< /note >}}
296
297
297
298
<!--
0 commit comments