From fa60ab7b216d3f850af556a84514ef5adf65c583 Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Tue, 16 Jan 2018 11:14:09 -0800 Subject: [PATCH] Update README.md Add uninstall command --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index dd0ffc6..fe19b34 100644 --- a/README.md +++ b/README.md @@ -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