diff --git a/content/en/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes.md b/content/en/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes.md index 7fd2738ca5102..e61c6f3d2b134 100644 --- a/content/en/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes.md +++ b/content/en/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes.md @@ -62,6 +62,7 @@ sudo kubeadm upgrade node Prepare the node for maintenance by marking it unschedulable and evicting the workloads: ```shell +# execute this command on a control plane node # replace with the name of your node you are draining kubectl drain --ignore-daemonsets ``` @@ -99,6 +100,7 @@ kubectl drain --ignore-daemonsets Bring the node back online by marking it schedulable: ```shell +# execute this command on a control plane node # replace with the name of your node kubectl uncordon ```