helm list:无法在命名空间“kube-system"中列出配置映射; [英] helm list : cannot list configmaps in the namespace "kube-system"
本文介绍了helm list:无法在命名空间“kube-system"中列出配置映射;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在 kubernetes 8 集群上安装了 helm 2.6.2.helm init
工作正常.但是当我运行 helm list
时,它给出了这个错误.
I have installed helm 2.6.2 on the kubernetes 8 cluster. helm init
worked fine. but when I run helm list
it giving this error.
helm list
Error: configmaps is forbidden: User "system:serviceaccount:kube-system:default" cannot list configmaps in the namespace "kube-system"
如何修复此 RABC 错误消息?
How to fix this RABC error message?
推荐答案
一旦这些命令:
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"}}}}'
helm init --service-account tiller --upgrade
已运行,问题已解决.
这篇关于helm list:无法在命名空间“kube-system"中列出配置映射;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文