更换k8s集群,或者创建集群使用用户不对,导致ranchar无法显示容器处理方式如下:

报错如下:

Error from server (AlreadyExists): clusterrolebindings.rbac.authorization.k8s.io "cluster-admin-binding" already exists

 

由于残留文件导致无法重新导入集群所以执行:

sudo kubectl delete clusterrolebindings cluster-admin-binding

 

posted on 2020-09-17 12:40  听雨长风  阅读(625)  评论(0编辑  收藏  举报