Tag Archives: Helm install Error

[Solved] Helm install Error: Error: no available release name found

Helm reported this error Error: no available release name found

 

Reason: Presumably because tiller does not have the correct role permissions.

Solution:

execute the command

[root@k8s-master01 helm]# kubectl create serviceaccount --namespace kube-system tiller

[root@k8s-master01 helm]# kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller

[root@k8s-master01 helm]#  kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'