Failed to list *v1.Secret: secrets is forbidden: User "system:node

Posted chenminklutz

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Failed to list *v1.Secret: secrets is forbidden: User "system:node相关的知识,希望对你有一定的参考价值。

Jun 14 11:40:13 kubelet[22623]: E0614 11:40:13.372894   22623 reflector.go:126] object-""/"": Failed to list *v1.Secret: secrets is forbidden: User "system:node:nodeA" cannot list resource "secrets" in API group "" in the namespace "": No Object name found

 

原因:system:node没权限

解决方法:给他加到system:nodes组里

示例:

kubectl create clusterrolebinding system-node-role-bound --clusterrole=system:node --group=system:nodes

以上是关于Failed to list *v1.Secret: secrets is forbidden: User "system:node的主要内容,如果未能解决你的问题,请参考以下文章

mongodb安装之后使用robo3t连接出现 Failed to load list of database Failed to execute "listdatabases"

Gulp error in WebStorm: Failed to list gulp tasks

当安装mongodb客户端出现了Failed to load list of databases

spark启动失败:localhost failed to add the host to the list of known hosts

spark启动失败:localhost failed to add the host to the list of known hosts

React native buld 失败并显示以下消息 Failed to list versions for com.facebook.react:react-native