Errors
[ec2-user@ip-172-31-16-114 ~]$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
ip-172-31-16-114.ap-south-1.compute.internal Ready master 20h v1.15.0
ip-172-31-28-73.ap-south-1.compute.internal NotReady <none> 5m42s v1.15.0
[ec2-user@ip-172-31-16-114 ~]$
IN THE NODE
[root@ip-172-31-28-73 ec2-user]# journalctl -u kubelet
Jun 21 08:59:39 ip-172-31-28-73.ap-south-1.compute.internal kubelet[2538]: W0621 08:59:39.861692 2538 cni.go:213] Unable to update cni config: No networks found in /
Jun 21 08:59:40 ip-172-31-28-73.ap-south-1.compute.internal kubelet[2538]: E0621 08:59:40.179277 2538 kubelet.go:2169] Container runtime network not ready: NetworkRe
Jun 21 08:59:44 ip-172-31-28-73.ap-south-1.compute.internal kubelet[2538]: W0621 08:59:44.861915 2538 cni.go:213] Unable to update cni config: No networks found in /
Jun 21 08:59:45 ip-172-31-28-73.ap-south-1.compute.internal kubelet[2538]: E0621 08:59:45.180292 2538 kubelet.go:2169] Container runtime network not ready: NetworkRe
Jun 21 08:59:49 ip-172-31-28-73.ap-south-1.compute.internal kubelet[2538]: W0621 08:59:49.862101 2538 cni.go:213] Unable to update cni config: No networks found in /
Jun 21 08:59:50 ip-172-31-28-73.ap-south-1.compute.internal kubelet[2538]: E0621 08:59:50.181290 2538 kubelet.go:2169] Container runtime network not ready: NetworkRe
Jun 21 08:59:50 ip-172-31-28-73.ap-south-1.compute.internal kubelet[2538]: E0621 08:59:50.910273 2538 pod_workers.go:190] Error syncing pod 8b86e647-7177-4823-a376-7
Jun 21 08:59:54 ip-172-31-28-73.ap-south-1.compute.internal kubelet[2538]: W0621 08:59:54.862323 2538 cni.go:213] Unable to update cni config: No networks found in /
Jun 21 08:59:55 ip-172-31-28-73.ap-south-1.compute.internal kubelet[2538]: E0621 08:59:55.182266 2538 kubelet.go:2169] Container runtime network not ready: NetworkRe
lines 486-528/528 (END)
Solutions
- https://stackoverflow.com/questions/47107117/how-to-debug-when-kubernetes-nodes-are-in-not-ready-state
- https://stackoverflow.com/questions/50085323/kubernetes-worker-node-staying-in-notready-state
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND