1、报错信息如下:
Error from server (Forbidden): Forbidden (user=system:anonymous, verb=get, resource=nodes, subresource=proxy)
1
2、解决办法
绑定一个 cluster-admin 的权限
kubectl create clusterrolebinding system:anonymous –clusterrole=cluster-admin –user=system:anonymous
1
作者:ljx1528
来源:CSDN
原文:https://blog.csdn.net/ljx1528/article/details/85226422
版权声明:本文为博主原创文章,转载请附上博文链接!