Welcome to the Linux Foundation Forum!

Lab 3.2 unable to join the cluster from worker node

Hi, i am on step 7 lab 3.2. Can't join cluster from worker. Help please!

[email protected]:~# kubeadm join --token ur2pat.3anbura0oc0gnuf6 k8smaster:6443 --discovery-token-ca-cert-hash sha256:c4

W1022 13:29:54.004779 1788 join.go:346] [preflight] WARNING: JoinControlPane.controlPlane settings will be ignor
ed when control-plane flag is not set.
[preflight] Running pre-flight checks
[WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is
"systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
error execution phase preflight: couldn't validate the identity of the API Server: configmaps "cluster-info" is for
bidden: 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


  • chrispokornichrispokorni Posts: 1,065

    Hi @sergeizak,

    What are you using for VMs - local VMs, or cloud VM instances?

    What are you VM specs and the OS?

    Did you install docker or CRI-O?

    What was the age of the token at the time the join command was issued?


  • Hi Chris,
    I am using Google VMs

    Specs are n1-standard-2 (2 vCPUs, 7.5 GB memory), Ubuntu 18.04


    Freshly generated token

    It takes about 5 minutes for the error to show up


  • I ended up recreating master and it's working now

  • I have the same issue, can someone please help with the possible solution?

  • Nevermind, it got fixed!

  • shashashasha Posts: 11

    i have the same issue , why when you solve a problem dont write it for another ????

Sign In or Register to comment.