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
Kubernetes – CKA Certification Overview – By DevOpsSchool.com
Kubernetes – CKA Certification | Part 1 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 2 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 3 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 4 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 5 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 6 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 7 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 8 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 9 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 10 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 11 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 12 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 13 out 14 | — By DevOpsSchool
Kubernetes – CKA Certification | Part 14 out 14 | — By DevOpsSchool
Latest posts by Rajesh Kumar (see all)
- Best AI tools for Software Engineers - November 4, 2024
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024