k8s join User “system:anonymous“ cannot get resource “configmaps“ in API group ““ in the namespace

created at 12-11-2021 views: 97

error

error execution phase preflight: couldn't validate the identity of the API Server: configmaps "cluster-info" is forbidden: User "system:anonymous" cannot get resource "configmaps" in API group "" in the namespace "kube-public"

solution

authorization

kubectl create clusterrolebinding cluster-system-anonymons --clusterrole=cluster-admin --user=system:anonymous
created at:12-11-2021
edited at: 12-11-2021: