ansible-role-kubernetes
ansible-role-kubernetes copied to clipboard
User "system:anonymous" cannot get resource "configmaps" in API group
Hi
I just tried using your role and ran into an issue when trying to join nodes to the cluster:
Failed to request cluster-info, will try again:
configmaps "cluster-info" is forbidden:
User "system:anonymous" cannot get resource "configmaps" in API group ""
in the namespace "kube-public"
Wondering if you had seen this before and know what I am doing wrong, I am using pretty much all the default vars; the only ones that I have changed are:
kubernetes_config_kubelet_configuration:
cgroupDriver: systemd
kubernetes_allow_pods_on_control_plane: false
kubernetes_pod_network: 10.50.0.0/16
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
I had the same issue. Running sudo kubeadm reset
on all nodes and trying again solved this issue for me.
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.