Helm init fails

6/4/2019

Running helm init fails

I tried executing on MacOS Mojave 10.14.5:

helm init

$HELM_HOME has been configured at /Users/johnnydepp/.helm.
Error: error installing: Post https://192.168.99.103:8443/apis/extensions/v1beta1/namespaces/kube-system/deployments: Gateway Timeout

Expected output is it should install Tiller to my running Kubernetes cluster. It will also set up any necessary local configuration.

-- UnP
kubernetes
kubernetes-helm

1 Answer

6/4/2019

Try this:

kubectl -n kube-system create serviceaccount tiller 

kubectl create clusterrolebinding tiller \
  --clusterrole cluster-admin \
  --serviceaccount=kube-system:tiller 

helm init --service-account tiller --history-max 200 

Share output from the below command:

kubectl get cs
NAME                 STATUS    MESSAGE             ERROR
controller-manager   Healthy   ok                  
scheduler            Healthy   ok                  
etcd-0               Healthy   {"health":"true"}   
-- P Ekambaram
Source: StackOverflow