From 7d784738c885336ea1e41a2295479fde14aa56e2 Mon Sep 17 00:00:00 2001 From: Aaron Peschel Date: Fri, 25 Aug 2017 21:23:53 -0700 Subject: [PATCH] Correct Uninstall Instructions (#1831) This commit corrects the uninstall instructions in the README for the elasticsearch chart. * Make it clear that the helm delete command is still required * Correct the filter from "type" to "component" * Remove the manual pod deletion, they are automatically removed --- incubator/elasticsearch/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/incubator/elasticsearch/README.md b/incubator/elasticsearch/README.md index ec40e2f82a..b4ec2010f6 100644 --- a/incubator/elasticsearch/README.md +++ b/incubator/elasticsearch/README.md @@ -40,11 +40,16 @@ $ helm install --name my-release incubator/elasticsearch ## Deleting the Charts -Deletion of the PetSet doesn't cascade to deleting associated Pods and PVCs. To delete them: +Delete the Helm deployment as normal ``` -$ kubectl delete pods -l release=my-release,type=data -$ kubectl delete pvcs -l release=my-release,type=data +$ helm delete my-release +``` + +Deletion of the StatefulSet doesn't cascade to deleting associated PVCs. To delete them: + +``` +$ kubectl delete pvc -l release=my-release,component=data ``` ## Configuration