Skip to content

Commit b230abc

Browse files
matheusjuniorTim Bannister
andauthored
Update content/en/docs/tasks/administer-cluster/safely-drain-node.md
Co-authored-by: Tim Bannister <[email protected]>
1 parent 08075dc commit b230abc

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

content/en/docs/tasks/administer-cluster/safely-drain-node.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,13 @@ bring down the node by powering down its physical machine or, if running on a
6363
cloud platform, deleting its virtual machine.
6464

6565
{{< note >}}
66-
[nodeName](/docs/concepts/scheduling-eviction/assign-pod-node/#nodename) bypasses the scheduler,
67-
thus evicted Pods will still run on a drained node.
66+
If any new Pods tolerate the `node.kubernetes.io/unschedulable` taint, then those Pods
67+
might be scheduled to the node you have drained. Avoid tolerating that taint other than
68+
for DaemonSets.
69+
70+
If you or another API user directly set the [`nodeName`](/docs/concepts/scheduling-eviction/assign-pod-node/#nodename)
71+
field for a Pod (bypassing the scheduler), then the Pod is bound to the specified node
72+
and will run there, even though you have drained that node and marked it unschedulable.
6873
{{< /note >}}
6974

7075
First, identify the name of the node you wish to drain. You can list all of the nodes in your cluster with

0 commit comments

Comments
 (0)