helm 错误the server has asked for the client to provide credentials

一、造成错误的原因

不小心把helm的RBAC权限文件删除了。虽然重新apply了RBAC配置,但是已经无法使用helm install了。

二、解决方法

把运行的tiller的pod干掉,让他自动重启。

kubectl delete  pod  -n kube-system tiller-deploy-7674c4c47c-r9ghw

 

posted @ 2019-08-17 11:40  巽逸  阅读(3397)  评论(0编辑  收藏  举报