Welcome to the Linux Foundation Forum!

Lab 3.2 Step 5 times outs

Lab 3.2 Step 5 I am getting this error and I am not able to join the node to the cluster. It says docker version is not on list of validated versions. And it times out. Any one else seeing this problem? I am using GCP and Docker.

root@worker:~# kubeadm join k8smaster:6443 --token drpnih.24oqhsmaw8kye7km --dicovery-token-ca-cert-hash sha256:370eb49d8e05f1fac53df762b905d8b63590c5eadbb314e2c074e6701b58993
[preflight] Running pre-flight checks
[WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgrou driver. The recommended driver is "systemd". Please follow the guide at https:/kubernetes.io/docs/setup/cri/
[WARNING SystemVerification]: this Docker version is not on the list ofvalidated versions: 20.10.2. Latest validated version: 19.03
error execution phase preflight: couldn't validate the identity of the API Servr: Get "https://k8smaster:6443/api/v1/namespaces/kube-public/configmaps/clusterinfo?timeout=10s": net/http: request canceled while waiting for connection (Clint.Timeout exceeded while awaiting headers)
To see the stack trace of this error execute with --v=5 or higher

Comments

  • serewicz
    serewicz Posts: 1,000

    Hello,


    Your error is tied to the identity of the control plane. Did you add k8smaster as an alias to the worker's /etc/hosts file?


    Regards,

  • vvandana
    vvandana Posts: 9

    thanks! that worked.

Categories

Upcoming Training