helm安装异常解决方案
Posted mark-yi
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了helm安装异常解决方案相关的知识,希望对你有一定的参考价值。
问题1:helm version正常 helm list 异常报错如下
解决方法:
1 [root@MASTER1 ~]# helm init --service-account tiller --tiller-image majpmajp/tiller:v2.9.1 --upgrade 2 $HELM_HOME has been configured at /root/.helm. 3 4 Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster. 5 6 Please note: by default, Tiller is deployed with an insecure ‘allow unauthenticated users‘ policy. 7 For more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation 8 Happy Helming! 9 [root@MASTER1 ~]# kubectl create serviceaccount --namespace kube-system tiller 10 serviceaccount "tiller" created 11 [root@MASTER1 ~]# kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller 12 clusterrolebinding "tiller-cluster-rule" created 13 [root@MASTER1 ~]# kubectl patch deploy --namespace kube-system tiller-deploy -p ‘{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}‘
问题2:helm version 异常,只显示helm client
1 [root@MASTER1 ~]# helm version 2 3 Client: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}
解决方法:
1 server没有安装成功,tiller需要访问国外网站,这里是下载后,放到国内仓库中了 2 3 helm init --service-account tiller --tiller-image majpmajp/tiller:v2.9.1 --upgrade
以上是关于helm安装异常解决方案的主要内容,如果未能解决你的问题,请参考以下文章
mvn命令异常:An error has occurred in Javadoc report generation: Unable to find javadoc command异常已解决(代码片段
mvn命令异常:An error has occurred in Javadoc report generation: Unable to find javadoc command异常已解决(代码片段