Skip to content

Commit

Permalink
Merge pull request kubernetes#44322 from adityasamant25/issue-44321
Browse files Browse the repository at this point in the history
Add user guidance comment for executing drain and uncordon on control plane
  • Loading branch information
k8s-ci-robot authored Dec 14, 2023
2 parents e916512 + 3a13717 commit 98dcbdd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <node-to-drain> with the name of your node you are draining
kubectl drain <node-to-drain> --ignore-daemonsets
```
Expand Down Expand Up @@ -99,6 +100,7 @@ kubectl drain <node-to-drain> --ignore-daemonsets
Bring the node back online by marking it schedulable:

```shell
# execute this command on a control plane node
# replace <node-to-uncordon> with the name of your node
kubectl uncordon <node-to-uncordon>
```
Expand Down

0 comments on commit 98dcbdd

Please sign in to comment.