Welcome to the Linux Foundation Forum!

LFS258 LAb3.2 step 7 unable to join the cluster


I am unable to perform kubeadm join , resulting in the below error
[email protected]:~# kubeadm join --token zq97al.y5v4cjfu0sf6mr2u k8scp:6443 --discovery-token-ca-cert-hash sha256:795a2c8464df7c58dbb70183e6f7a479f47c164822f3d8f8246f93b9c46c17e4
[preflight] Running pre-flight checks
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"
To see the stack trace of this error execute with --v=5 or higher

I running the Nodes on GCE ,
it takes around 5 minutes before the error appears
I have already tried recreating the worked instance.
Thanks in Advance!


  • chrispokorni
    chrispokorni Posts: 1,218

    Hi @swapnil07,

    What Kubernetes version have you downloaded and installed on your worker node? Based on the errors we have seen earlier from the control-plane node, I would recommend ensuring that installation steps are followed as close as possible to the lab guide.


  • Hi @chrispokorni,
    Thank you for your responses, I have installed Version 1.22.2. I had previously tried with1.21.1 and had the same issue. . I will retry as per your suggestion to install 1.21.1 and share the logs .


Upcoming Training