helm: Error forwarding ports: error upgrading connection
I have Helm install locally and Tiller on my cluster, everything looks healthy, but running helm install stable/mysql is giving me:
Error: Error forwarding ports: error upgrading connection: dial tcp: lookup kube-4gb-lon1-02 on 8.8.8.8:53: no such host
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 33
- Comments: 32 (8 by maintainers)
Hi, from my side I solved the Error: forwarding ports: error upgrading connection: Upgrade request required issue with the following command:
Configuration:
helm not work when the number nodes of cluster larger than 1,
Hi, This worked for me. Could you please explain us your solution ?
Not sure if this is related. I am getting this error in AKS but not in GKE. I use helm from within the cluster to make releases.
Just to be safe (in case this is unrelated), I created a new issue: https://github.com/kubernetes/helm/issues/4254
@nidhi-ag It starts a local instance of tiller which connects to your remote Kubernetes cluster which works around the error related to failing to connect to the remote instance of tiller. https://helm.sh/docs/install/#running-tiller-locally
@axot if you’re having issues with
kubectl port-forward, then that’s gonna be a connection issue on Kubernetes’ end, not on Helm’s 😃 I’d file a ticket with GKE.@technosophos Any idea how to fix this when using helm inside of a pod in the k8?
I’m using gitlab-runners to build projects inside of pods. Kubectl works, its pointing to
https://kubernetes.defaultbut helm doesn’t.