I wanted to bring up zookeeper using helm install ., but it says Error: release <servicename> failed: services "zookeeper" already exists. I don't see anything if I execute helm listtoo. Before installing the service, I checked using helm list if it already exists, and it doesn't.
How to check the reason for failure?
I think that the simplest solution is to add the --debug flag for the installation command:
helm install chart my-chart --debug
Or if you prefer:
helm upgrade --install chart my-chart --debug
It displays all the resources which are created one by one and also related errors which occured during installation.
Do helm list --all - Helm List
Then if you have a conflicting release then probably need to delete the release again with the --purge flag
But it could possibly be that you have a Service object named zookeeper that isn't part of a helm release or that hasn't been cleaned up. You can check with kubectl get services (or add the --all-namespaces flag if it might be in a different namespace from your context). If so then you'll want to delete resources directly with kubectl delete
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With