Marked the command as bash code
Marked the command as bash code Marked the command as bash code
This commit is contained in:
parent
989f5da043
commit
a6bc7d1784
|
@ -531,10 +531,9 @@ Talking to the control-plane node with the appropriate credentials, run:
|
|||
|
||||
```bash
|
||||
kubectl drain <node name> --delete-local-data --force --ignore-daemonsets
|
||||
kubectl delete node <node name>
|
||||
```
|
||||
|
||||
Then, on the node being removed, reset all `kubeadm` installed state:
|
||||
Before removing the node, reset the state installed by `kubeadm`:
|
||||
|
||||
```bash
|
||||
kubeadm reset
|
||||
|
@ -552,6 +551,11 @@ If you want to reset the IPVS tables, you must run the following command:
|
|||
ipvsadm -C
|
||||
```
|
||||
|
||||
Now remove the node:
|
||||
```bash
|
||||
kubectl delete node <node name>
|
||||
```
|
||||
|
||||
If you wish to start over simply run `kubeadm init` or `kubeadm join` with the
|
||||
appropriate arguments.
|
||||
|
||||
|
|
Loading…
Reference in New Issue