From d22bb22d2370e8685dda2bafb9b8e918b4eb7c73 Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Mon, 26 Mar 2018 11:07:59 -0700 Subject: [PATCH] Update README.md Add cmd to delete all the volumes. --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fba0db1..724129b 100644 --- a/README.md +++ b/README.md @@ -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 ```