Update README.md

Add cmd to delete all the volumes.
This commit is contained in:
Sheng Yang 2018-03-26 11:07:59 -07:00 committed by GitHub
parent 0244dd932d
commit d22bb22d23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,7 +202,12 @@ See [Troubleshooting](#troubleshooting) for details.
## Uninstall Longhorn
Longhorn can be easily uninstalled using:
In order to uninstall Longhorn, user need to remove all the volumes first:
```
kubectl -n longhorn-system delete lhv --all
```
After confirming all the volumes are removed, then Longhorn can be easily uninstalled using:
```
kubectl delete -f https://raw.githubusercontent.com/rancher/longhorn/v0.2/deploy/longhorn.yaml
```