Merge pull request #44322 from adityasamant25/issue-44321

Add user guidance comment for executing drain and uncordon on control plane
pull/44353/head
Kubernetes Prow Robot 2023-12-14 03:29:00 +01:00 committed by GitHub
commit 98dcbddc6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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
```
@ -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>
```