Merge pull request #29076 from xinydev/update-kubectl-flag

Update kubectl deprecated flag delete-local-data to delete-emptydir-data
This commit is contained in:
Kubernetes Prow Robot
2021-07-26 04:20:33 -07:00
committed by GitHub
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`: