Cluster node status is NotReady

After installing weave plugin with the following command and joining the nodes to cluster, node status does not change to ready, would you please look at this information and let me know where the problem is ?

kubectl apply -f “$(kubectl version | base64 | tr -d ‘\n’)”

vagrant@kubemaster:~$ kubectl get nodes
kubemaster Ready master 3h51m v1.19.2
kubenode01 NotReady 3h17m v1.19.2
kubenode02 NotReady 3h16m v1.19.2

the is the error I got from kubectl describe kubenode01

Ready False Sun, 11 Oct 2020 15:29:24 +0000 Sun, 11 Oct 2020 12:16:08 +0000 KubeletNotReady runtime network
not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

@kodecloud @andrzej @player001 would you please look into the problem?

I think it is something related to proxy though I cannot figure it out, but I had to use proxy server for the kubeadmin init command.

Did you start the kubelet service? What is the output of systemctl status kubelet?

the service is active (running) on the master and node as well


The problem was, docker or kuberenetes was not able to pull weave pod image in nodes as google is restricted here, I set up http_proxy on docker and fixed the problem.