Update README.md

Add uninstall command
This commit is contained in:
Sheng Yang 2018-01-16 11:14:09 -08:00 committed by GitHub
parent 1dd3618256
commit fa60ab7b21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -205,6 +205,14 @@ instead of
in the last part of the Longhorn system deployment yaml file.
See [Troubleshooting](#troubleshooting) for details.
## Uninstall Longhorn
Two commands will be needed to uninstall Longhorn from your Kubernetes cluster, since Kubernetes' `CustomResourceDefiniton` has been used.
```
kubectl delete -f deploy/example.yaml
kubectl delete crd -l longhorn-manager
```
## Troubleshooting
### Volume can be attached/detached from UI, but Kubernetes Pod/Deployment etc cannot use it