File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
content/en/docs/concepts/scheduling-eviction Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ is a property of {{< glossary_tooltip text="Pods" term_id="pod" >}} that *attrac
15
15
a set of {{< glossary_tooltip text="nodes" term_id="node" >}} (either as a preference or a
16
16
hard requirement). _ Taints_ are the opposite -- they allow a node to repel a set of pods.
17
17
18
- _ Tolerations_ are applied to pods, and allow (but do not require) the pods to schedule
18
+ _ Tolerations_ are applied to pods, it does not guarantee that pod will get scheduled
19
19
onto nodes with matching taints.
20
20
21
21
Taints and tolerations work together to ensure that pods are not scheduled
@@ -28,6 +28,11 @@ marks that the node should not accept any pods that do not tolerate the taints.
28
28
29
29
## Concepts
30
30
31
+ Basic Syntax
32
+ ``` shell
33
+ kubectl taint nodes < node_name> < key> =< value> :< effect>
34
+ ```
35
+
31
36
You add a taint to a node using [ kubectl taint] ( /docs/reference/generated/kubectl/kubectl-commands#taint ) .
32
37
For example,
33
38
You can’t perform that action at this time.
0 commit comments