我是靠谱客的博主 笨笨火龙果,最近开发中收集的这篇文章主要介绍错误集:创建bootstrap角色赋予权限用于连接apiserver请求签名,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

Error from server (AlreadyExists): clusterrolebindings.rbac.authorization.k8s.io "kubelet-bootstrap" already exists

原因:之前已经创建过错误的签名,签名被占用,需要删除已经被占用的签名

解决方法
1、删除签名
kubectl delete clusterrolebindings kubelet-bootstrap
2、重新创建成功
[root@localhost kubeconfig]# kubectl create clusterrolebinding kubelet-bootstrap --clusterrole=system:node-bootstrapper --user=kubelet-bootstrap
clusterrolebinding.rbac.authorization.k8s.io/kubelet-bootstrap created

[root@master01 kubeconfig]# kubectl delete clusterrolebindings kubelet-bootstrap
clusterrolebinding.rbac.authorization.k8s.io "kubelet-bootstrap" deleted
[root@master01 kubeconfig]# kubectl create clusterrolebinding kubelet-bootstrap --clusterrole=system:node-bootstrapper --user=kubelet-bootstrap
clusterrolebinding.rbac.authorization.k8s.io/kubelet-bootstrap created

最后

以上就是笨笨火龙果为你收集整理的错误集:创建bootstrap角色赋予权限用于连接apiserver请求签名的全部内容,希望文章能够帮你解决错误集:创建bootstrap角色赋予权限用于连接apiserver请求签名所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(71)

评论列表共有 0 条评论

立即
投稿
返回
顶部