kubernetes用户绑定到集群报错no matches for rbac.authorization.k8s.io

kubernetes用户绑定到集群报错no matches for rbac.authorization.k8s.io

错误信息

[root@master01 cfg]#
[root@master01 cfg]# kubectl create clusterrolebinding kubelet-bootstrap --clusterrole=system:node-bootstrapper --user=kubelet-bootstrap
error: no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding
[root@master01 cfg]#

token

[root@master01 cfg]# cat token.csv
592769d282ab56dbd997295bebcf918a,kubelet-bootstrap,10001,"system:kubelet-bootstrap"

哪位大佬知道啥原因,咋解决,多谢

阅读 6.3k
1 个回答
推荐问题
宣传栏