Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

Kubeadm Errors: network plugin is not ready: cni config uninitialized

Spread the Knowledge

Error Message

=================================
$ kubectl get nodes
NAME                                          STATUS     ROLES    AGE   VERSION
ip-172-31-23-27.ap-south-1.compute.internal   NotReady   master   79m   v1.17.1
=================================
$ kubectl describe nodes ip-172-31-23-27.ap-south-1.compute.internal
 Ready            False   Fri, 17 Jan 2020 06:18:48 +0000   Fri, 17 Jan 2020 05:03:20 +0000   KubeletNotReady              runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
=================================
$ kubectl get pods -n=kube-system
NAME                                                                  READY   STATUS    RESTARTS   AGE
coredns-6955765f44-7cgfn                                              0/1     Pending   0          80m
coredns-6955765f44-xjtww                                              0/1     Pending   0          80m
etcd-ip-172-31-23-27.ap-south-1.compute.internal                      1/1     Running   0          80m
kube-apiserver-ip-172-31-23-27.ap-south-1.compute.internal            1/1     Running   0          80m
kube-controller-manager-ip-172-31-23-27.ap-south-1.compute.internal   1/1     Running   0          80m
kube-proxy-bd9n6                                                      1/1     Running   0          80m
kube-scheduler-ip-172-31-23-27.ap-south-1.compute.internal            1/1     Running   0          80m
=================================
$ kubectl describe pods coredns-6955765f44-7cgfn -n=kube-system
Events:
  Type     Reason            Age                   From               Message
  ----     ------            ----                  ----               -------
  Warning  FailedScheduling  4m23s (x53 over 80m)  default-scheduler  0/1 nodes are available: 1 node(s) had taints that the pod didn't tolerate.

Solution

For Weavenet
$ kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')"

OR
For Calico
$ kubectl apply -f https://docs.projectcalico.org/v3.11/manifests/calico.yaml
Rajesh Kumar