Uninstall Consul
Uninstalling Consul requires running helm delete
and then manually cleaning
up some resources that Helm does not delete.
First, run
helm delete
:If using Helm 2, run
helm delete --purge hashicorp
After deleting the Helm release, you need to delete the
PersistentVolumeClaim
's for the persistent volumes that store Consul's data. These are not deleted by Helm due to a bug. To delete, run:NOTE: This will delete all data stored in Consul and it can't be recovered unless you've taken other backups.
If installing with ACLs enabled, you will need to then delete the ACL secrets:
Ensure that the secrets you're about to delete are all created by Consul and not
created by someone else that happen to have the word consul
.
If installing with
controller.enabled
then you will need to delete the webhook certificate:If installing with
tls.enabled
then there will be aServiceAccount
that is left behind: