Worker Nodes show NotReady state

Hello,

I am doing my kubernetes for beginners course and just finished setting up the kubernetes cluster, for some reason unknown to me the kubectl get nodes returns the status of the nodes as NotReady.

Below are the outputs for the get nodes

root@kube-master ~]# kubectl get nodes
NAME STATUS ROLES AGE VERSION
kube-master Ready master 3d22h v1.17.0
kube-worker1 NotReady 3d22h v1.17.0
kube-worker2 NotReady 3d22h v1.17.0

output for the kubectl get pods --all-namespaces

[root@kube-master ~]# kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
default ngnix-595c5d5495-tkcpk 0/1 Pending 0 13h
kube-system calico-kube-controllers-5c45f5bd9f-k5zwh 1/1 Running 4 3d22h
kube-system calico-node-558dn 0/1 CrashLoopBackOff 25 3d22h
kube-system calico-node-klmmx 1/1 Running 3 3d22h
kube-system calico-node-sn5q6 0/1 CrashLoopBackOff 25 3d22h
kube-system coredns-6955765f44-dkndj 1/1 Running 3 3d22h
kube-system coredns-6955765f44-rjhx6 1/1 Running 3 3d22h
kube-system etcd-kube-master 1/1 Running 3 3d22h
kube-system kube-apiserver-kube-master 1/1 Running 3 3d22h
kube-system kube-controller-manager-kube-master 1/1 Running 3 3d22h
kube-system kube-proxy-49g6s 1/1 Running 0 3d22h
kube-system kube-proxy-56d4k 1/1 Running 0 3d22h
kube-system kube-proxy-cm4f8 1/1 Running 3 3d22h
kube-system kube-scheduler-kube-master 1/1 Running 3 3d22h

On the worker nodes when I try to run the kubectl get nodes, the system shows the below error.

[root@kube-worker2 kubernetes]# kubectl get nodes
The connection to the server localhost:8080 was refused - did you specify the right host or port?
[root@kube-worker2 kubernetes]# kubectl get pods
The connection to the server localhost:8080 was refused - did you specify the right host or port?

the calico-node shows CrashLoopBackOff is this something to worry about.

Any help is appreciated.

kubectl describe ?
kubectl logs -f ?

Did you got this fixed ? I got similar issus.