LoginSignup
9
5

More than 5 years have passed since last update.

[k8s] helmで Error: no available release name found になったとき

Posted at

k8sのパッケージマネージャ helm を使おうと思ってインストール後、
helm install コマンドを実行したらエラーで怒られた

$ helm init
$ helm install stable/redis-ha
Error: no available release name found

どうやら Default の RBACの設定だとうまく動かない模様・・・
以下のコマンド実行したら、インストールできた

$ 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"}}}}'

参考: https://github.com/kubernetes/helm/issues/3055

9
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
5