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
tiller won't install #489
Comments
That is strange. You did exactly the same as me in #485. But tiller works for me fine. What OS do you use? And what is the output of |
I am using ubuntu 16.04. It's running inside a virtualbox VM (and all scripted via vagrant) but I can't see how they would impact. Output is: vagrant@qmi-k3s:~$ kubectl get all -n kube-system -o wide NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE CONTAINERS IMAGES SELECTOR NAME READY UP-TO-DATE AVAILABLE AGE CONTAINERS IMAGES SELECTOR NAME DESIRED CURRENT READY AGE CONTAINERS IMAGES SELECTOR NAME COMPLETIONS DURATION AGE CONTAINERS IMAGES SELECTOR |
It looks healthy. Does |
@ljckennedy I ran into this as well. You need to make sure that helm is using the correct kubeconfig. Try something like this:
|
That did it ! Is it a bug that this is not set correctly on install? Can the docs be updated for this? my output: Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster. Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy. |
Solution by @btashton worked. |
Me too - I mean, I had the same problem and @btashton 's solution worked. Who's bug it is, k3s or helm? Is there some config file this can be entered to or does it need to be added to environment manually? |
This is about installing charts after @btashton's solution... with helm version:"v3.0.0-alpha.2". |
@ljckennedy @aaronleesmu cp /etc/rancher/k3s/k3s.yaml $HOME/.kube/config |
Would |
I don't know if this is related, and apologies if it's not:
|
Same is here, using the instructions reported here https://medium.com/better-programming/using-a-k3s-kubernetes-cluster-for-your-gitlab-project-b0b035c291a9
|
I had to install a newer version (v2.16.1) of Helm. I was using 2.14.x. |
Closing due to age. Helm v2 is EOL. |
Describe the bug
I wish to use the helm client. My cluster is running and I can deploy Sc's and pods without helm and run get pods, , get storageclass, etc.
To Reproduce
echo 'Installing Kubernetes'
curl -sfL https://get.k3s.io | sh -
#alias kubectl='k3s kubectl'
kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml
kubectl get storageclass
curl -L https://git.io/get_helm.sh | bash
#Create tiller service account
kubectl -n kube-system create serviceaccount tiller
#Create cluster role binding for tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
#Initialize tiller
helm init --service-account tiller
Expected behavior
tiller installs
Screenshots
root@qmi-k3s:~
# helm init --service-account tiller$HELM_HOME has been configured at /root/.helm.
Error: error installing: Post http://localhost:8080/apis/extensions/v1beta1/namespaces/kube-system/deployments: dial tcp 127.0.0.1:8080: connect: connection refused
root@qmi-k3s:~#
`
Additional context
i tried disabling IP6 initially as I though this may be relevant.
The text was updated successfully, but these errors were encountered: