Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

进入pod时显示无权限,按照其他人说的加授权也是失败 #651

Open
957446525 opened this issue Jun 28, 2023 · 0 comments
Open

Comments

@957446525
Copy link

文档版本
版本是v1.14

现象描述
进入pod时显示无权限,按照其他人说的加授权也是失败
root@zhangjun-k8s01 work]# kubectl create clusterrolebinding kube-apiserver:kubelet-apis --clusterrole=system:kubelet-api-admin --user kubernetes
Error from server (AlreadyExists): clusterrolebindings.rbac.authorization.k8s.io "kube-apiserver:kubelet-apis" already exists
[root@zhangjun-k8s01 work]# kubectl exec dnsutils-ds-nzj9m nslookup kubernetes
error: unable to upgrade connection: Forbidden (user=kubernetes, verb=create, resource=nodes, subresource=proxy)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant