-
Notifications
You must be signed in to change notification settings - Fork 7.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot connect to tiller using helm v2.9.0: Error: Get http://localhost:8080/api/v1/namespaces/kube-system/configmaps?labelSelector=OWNER%!D(MISSING)TILLER: dial tcp [::1]:8080: connect: connection refused #3985
Comments
Okay, it seems to be this: #2464 This one-liner by @johnhamelink made it work for me as well:
Is this an issue with AKS, or with Helm? When looking at what |
According to the code, if no service account is provided in
EDIT: just saw that you did try this with 2.8.2. Hmm. Not sure what the fix is here then :( |
@DonMartin76 For me the issue was to do with how Terraform spins up AKS clusters: hashicorp/terraform-provider-kubernetes#38 |
@bacongobbler your comment is an interesting one. If you look at my comment in the referenced issue, our Travis CI jobs started running into this earlier today (we are installing the latest released version of helm). But I haven't been able to reproduce locally with helm version 2.8.1 |
We're running into this same issue as well on a kops launched kubernetes (1.9.7) cluster on AWS , but it was working fine with helm 2.8.2 . Can confirm that running:
fixes the issue for helm 2.9.0 |
another workaround for the time being:
|
If you would be so kind as to test #3990, that would be appreciated. Seems like there was a regression in 2.9. |
alternative PR: #3991 |
@bacongobbler I will try to do that, but I haven't yet built helm myself, so I can't promise it will work out directly - or are there binaries somewhere? |
@DonMartin76 because the patch has been merged into master you can test following the "From Canary" section in the docs. :) |
the issue can be fixed just by exec |
It's also been fixed in 2.9.1. :) |
error: failed to create serviceaccount: Post "http://localhost:8080/api/v1/namespaces/kube-system/serviceaccounts?fieldManager=kubectl-create": dial tcp 127.0.0.1:8080: connect: connection refused |
I have a fresh 1.9.6 Azure AKS cluster (one node). Ran a
helm init --upgrade --force-upgrade
against it to get it to 2.9.0, admittedly without checking whether there was a tiller on it before. I have setKUBECONFIG
to the configuration file of this cluster, and made sure I can connect to it. Everything works, buthelm
does not, or betterhelm version
works, but apparently nothing else.I have tried this with helm 2.9.0 (on macOS) and 2.8.2 (on Linux/in Docker), and both behave the same; so this may or may not be an issue with AKS, or with helm, or possibly both. The error messages come from tiller, so that's why I file an issue here:
Checking logs:
And the env vars:
Ideas? This felt like a very vanilla use case.
The text was updated successfully, but these errors were encountered: