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:
+1
-1
@@ -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`:
|
||||
|
||||
Reference in New Issue
Block a user