helm: helm list failed
helm list Error: Get http://localhost:8080/api/v1/namespaces/kube-system/configmaps?labelSelector=OWNER%3DTILLER: dial tcp [::1]:8080: getsockopt: connection refused
Output of helm version:2.8.2、2.5.0
Output of kubectl version:1.6.2
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 27 (8 by maintainers)
@bacongobbler
The docs say:
Helm is tested and known to work with minikube. It requires no additional configuration.In reality this does not work today per my earlier comment, and fails with the same error everyone else is getting:
Either the tooling is wrong, or the documentation is wrong. Either way I think this warrants an issue and a solution as I am unable to use helm with minikube atm.
This is still an issue in 2.9.1 as well.
Same problem with:
To reproduce:
output:
@muratsplat They are suggesting that
KUBERNETES_MASTERneeds to be set on the tiller pod. However, this doesn’t appear to be the case at all. We have a K8S cluster & helm deployment that works just fine in AWS and that env variable is nowhere to be found. Only difference between the working deployment of Helm/Tiller and the not working one is the version.I’m going to roll back to an earlier version of Helm in my GKE cluster later and see if that fixes the issue.
For those seeing this issue and are using v2.9.0, please try
and see if that works. See #3990 for more context.
@all I tried many methods and finally resolve this issue by this workaround: you should build the image of tiller to add ENV in the image, and the dockerfile is in below: FROM gcr.io/kubernetes-helm/tiller:v2.3.1 ENV KUBERNETES_SERVICE_HOST https://YourKubeMasterHostIP:PORT (I think this line is optional) ENV KUBERNETES_MASTER YourKubeMasterHostIP:8080 (I think this line is mandatory)
you can modify this dockerfile to fulling your k8s cluster.