Skip to content

Commit a6bc7d1

Browse files
committed
Marked the command as bash code
Marked the command as bash code Marked the command as bash code
1 parent 989f5da commit a6bc7d1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

content/en/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,10 +531,9 @@ Talking to the control-plane node with the appropriate credentials, run:
531531

532532
```bash
533533
kubectl drain <node name> --delete-local-data --force --ignore-daemonsets
534-
kubectl delete node <node name>
535534
```
536535

537-
Then, on the node being removed, reset all `kubeadm` installed state:
536+
Before removing the node, reset the state installed by `kubeadm`:
538537

539538
```bash
540539
kubeadm reset
@@ -552,6 +551,11 @@ If you want to reset the IPVS tables, you must run the following command:
552551
ipvsadm -C
553552
```
554553

554+
Now remove the node:
555+
```bash
556+
kubectl delete node <node name>
557+
```
558+
555559
If you wish to start over simply run `kubeadm init` or `kubeadm join` with the
556560
appropriate arguments.
557561

0 commit comments

Comments
 (0)