标签:ice 异常解决 for idt span version format ade The
问题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
标签:ice 异常解决 for idt span version format ade The
原文地址:https://www.cnblogs.com/Mark-Yi/p/11751288.html