Marked the command as bash code

Marked the command as bash code

Marked the command as bash code
This commit is contained in:
vinu2003 2020-06-26 15:25:21 +10:00
parent 989f5da043
commit a6bc7d1784
1 changed files with 6 additions and 2 deletions

View File

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