自己学习用!!!
error execution phase preflight: couldn't validate the identity of the API Server: configmaps "cluster-info" is forbidden: User "system:anonymous" cannot get resource "configmaps" in API group "" in the namespace "kube-public"

## 授权
kubectl create clusterrolebinding cluster-system-anonymons --clusterrole=cluster-admin --user=system:anonymous
本文档记录了使用kubectl遇到的问题,尝试为system:anonymous用户创建cluster-role-binding时,由于权限限制无法验证API服务器的身份。焦点在于kube-public命名空间中的configmaps资源受限。
3808

被折叠的 条评论
为什么被折叠?



