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
@@ -379,7 +379,7 @@ This might impact other applications on the Node, so it's best to
**only do this in a test cluster**.
```shell
kubectl drain <node-name> --force --delete-local-data --ignore-daemonsets
kubectl drain <node-name> --force --delete-emptydir-data --ignore-daemonsets
```
Now you can watch as the Pod reschedules on a different Node: