File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
content/en/docs/concepts/scheduling-eviction Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,15 @@ tolerations:
62
62
effect : " NoSchedule"
63
63
` ` `
64
64
65
- Here's an example of a pod that uses tolerations:
65
+ The default Kubernetes scheduler takes taints and tolerations into account when
66
+ selecting a node to run a particular Pod. However, if you manually specify the
67
+ ` .spec.nodeName` for a Pod, that action bypasses the scheduler; the Pod is then
68
+ bound onto the node where you assigned it, even if there are `NoSchedule`
69
+ taints on that node that you selected.
70
+ If this happens and the node also has a `NoExecute` taint set, the kubelet will
71
+ eject the Pod unless there is an appropriate tolerance set.
72
+
73
+ Here's an example of a pod that has some tolerations defined :
66
74
67
75
{{% code_sample file="pods/pod-with-toleration.yaml" %}}
68
76
You can’t perform that action at this time.
0 commit comments