Skip to content

Commit 279bf48

Browse files
authored
Merge pull request #27143 from allcentury/patch-1
update assign-pod doc
2 parents bf96660 + 7be3cdc commit 279bf48

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,17 @@ weight: 20
1111

1212
<!-- overview -->
1313

14-
You can constrain a {{< glossary_tooltip text="Pod" term_id="pod" >}} to only be able to run on particular
15-
{{< glossary_tooltip text="Node(s)" term_id="node" >}}, or to prefer to run on particular nodes.
16-
There are several ways to do this, and the recommended approaches all use
17-
[label selectors](/docs/concepts/overview/working-with-objects/labels/) to make the selection.
14+
You can constrain a {{< glossary_tooltip text="Pod" term_id="pod" >}} so that it can only run on particular set of
15+
{{< glossary_tooltip text="Node(s)" term_id="node" >}}.
16+
There are several ways to do this and the recommended approaches all use
17+
[label selectors](/docs/concepts/overview/working-with-objects/labels/) to facilitate the selection.
1818
Generally such constraints are unnecessary, as the scheduler will automatically do a reasonable placement
19-
(e.g. spread your pods across nodes, not place the pod on a node with insufficient free resources, etc.)
20-
but there are some circumstances where you may want more control on a node where a pod lands, for example to ensure
19+
(e.g. spread your pods across nodes so as not place the pod on a node with insufficient free resources, etc.)
20+
but there are some circumstances where you may want to control which node the pod deploys to - for example to ensure
2121
that a pod ends up on a machine with an SSD attached to it, or to co-locate pods from two different
2222
services that communicate a lot into the same availability zone.
2323

2424

25-
2625
<!-- body -->
2726

2827
## nodeSelector

0 commit comments

Comments
 (0)