Skip to content

Commit 122b083

Browse files
authored
Merge pull request #38204 from my-git9/zhsync/assign-pod-node
[zh-cn] sync scheduling-eviction/assign-pod-node.md
2 parents 546607c + b764c19 commit 122b083

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

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

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ reviewers:
99
- davidopp
1010
- kevin-wangzefeng
1111
- bsalamat
12+
- alculquicondor
1213
title: Assigning Pods to Nodes
1314
content_type: concept
1415
weight: 20
@@ -278,20 +279,20 @@ for the Pod to be scheduled onto a node.
278279
才能将 Pod 调度到候选节点上。
279280

280281
<!--
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).
284285
-->
285-
如果你指定了多个与 `nodeAffinity` 类型关联的 `nodeSelectorTerms`
286-
只要其中一个 `nodeSelectorTerms` 满足的话,Pod 就可以被调度到节点上。
286+
如果你在与 nodeAffinity 类型关联的 nodeSelectorTerms 中指定多个条件
287+
只要其中一个 `nodeSelectorTerms` 满足(各个条件按逻辑或操作组合)的话,Pod 就可以被调度到节点上。
287288

288289
<!--
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).
292293
-->
293-
如果你指定了多个与同一 `nodeSelectorTerms` 关联的 `matchExpressions`
294-
则只有当所有 `matchExpressions` 都满足时 Pod 才可以被调度到节点上
294+
如果你在与 `nodeSelectorTerms` 中的条件相关联的单个 `matchExpressions` 字段中指定多个表达式
295+
则只有当所有表达式都满足(各表达式按逻辑与操作组合)时,Pod 才能被调度到节点上
295296
{{< /note >}}
296297

297298
<!--

0 commit comments

Comments
 (0)