更换k8s集群,或者创建集群使用用户不对,导致ranchar无法显示容器处理方式如下:
报错如下:
Error from server (AlreadyExists): clusterrolebindings.rbac.authorization.k8s.io "cluster-admin-binding" already exists
由于残留文件导致无法重新导入集群所以执行:
sudo kubectl delete clusterrolebindings cluster-admin-binding