Update kubectl deprecated flag delete-local-data

Signed-off-by: XinYang <xinydev@gmail.com>

revert changes

Signed-off-by: XinYang <xinydev@gmail.com>

update more

Signed-off-by: XinYang <xinydev@gmail.com>
This commit is contained in:
XinYang
2021-07-22 20:27:32 +08:00
parent 11ca5f06dc
commit d095a148f2
3 changed files with 6 additions and 6 deletions
@@ -415,7 +415,7 @@ and make sure that the node is empty, then deconfigure the node.
Talking to the control-plane node with the appropriate credentials, run:
```bash
kubectl drain <node name> --delete-local-data --force --ignore-daemonsets
kubectl drain <node name> --delete-emptydir-data --force --ignore-daemonsets
```
Before removing the node, reset the state installed by `kubeadm`: