I'm getting this error message:
➜ ~ helm version Error: could not find tiller
I've created tiller
project:
➜ ~ oc new-project tiller Now using project "tiller" on server "https://192.168.99.100:8443".
Then, I've created tiller
into tiller
namespace:
➜ ~ helm init --tiller-namespace tiller $HELM_HOME has been configured at /home/jcabre/.helm. 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. To prevent this, run `helm init` with the --tiller-tls-verify flag. For more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation Happy Helming!
So, after that, I've been waiting for tiller
pod is ready.
➜ ~ oc get pod -w NAME READY STATUS RESTARTS AGE tiller-deploy-66cccbf9cd-84swm 0/1 Running 0 18s NAME READY STATUS RESTARTS AGE tiller-deploy-66cccbf9cd-84swm 1/1 Running 0 24s ^C%
Any ideas?
Easy In-Cluster Installation Once it connects, it will install tiller into the kube-system namespace. After helm init , you should be able to run kubectl get pods --namespace kube-system and see Tiller running. Once Tiller is installed, running helm version should show you both the client and server version.
run kubectl edit deploy -n sysibm-adm tiller-deploy. It will open the tiller deployment configuration using default editor change the line below nodeSelector to: is_storage: "true". The tiller pod should be restart.
In helm 3 there is no tiller component. Helm client directly interacts with the kubernetes API for the helm chart deployment. So from wherever you are running the helm command, you should have kubectl configured with cluster-admin permissions for helm to execute the manifests in the chart.
Try deleting your cluster tiller
kubectl get all --all-namespaces | grep tiller kubectl delete deployment tiller-deploy -n kube-system kubectl delete service tiller-deploy -n kube-system kubectl get all --all-namespaces | grep tiller
Initialise it again:
helm init
Now add the service account:
kubectl create serviceaccount --namespace kube-system tiller kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'
This solved my issue!
You don't have helm configured yet, use the following command:
helm init
This will create .helm
with repository
, plugins
, etc, in your home directory.
Background: helm
comes with client and server, if you have a different deployment environment, it might be possible that your helm server (known as tiller
) is different, in that case, there are two ways to point to tiller
TILLER_NAMESPACE
--tiller-namespace
string namespace of Tiller (default "kube-system")For more details check the helm
READ.md file.
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