Kubernetes control-plane,master NotReady describe message: docker: network plugin is not ready

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: kubectl version: v1.23.4
Cloud being used: bare-metal
Installation method: Virtual Machine (VirtualBox v6.1.32)
Host OS: macOS High Sierra v10.13.6
CNI and version: please help me if necessary how do I get the requested info?
CRI and version: please help me if necessary how do I get the requested info?

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.

[root@ArchLinux-Guest1 ~]# kubectl get nodes
NAME               STATUS     ROLES                  AGE   VERSION
archlinux-guest1   NotReady   control-plane,master   78m   v1.23.4
archlinux-guest2   NotReady   control-plane,master   76m   v1.23.4
archlinux-guest3   NotReady   <none>                 73m   v1.23.4
archlinux-guest4   NotReady   <none>                 61m   v1.23.4
[root@ArchLinux-Guest1 ~]# kubectl describe nodes
Name:               archlinux-guest1
Roles:              control-plane,master
Labels:             beta.kubernetes.io/arch=amd64
                    beta.kubernetes.io/os=linux
                    kubernetes.io/arch=amd64
                    kubernetes.io/hostname=archlinux-guest1
                    kubernetes.io/os=linux
                    node-role.kubernetes.io/control-plane=
                    node-role.kubernetes.io/master=
                    node.kubernetes.io/exclude-from-external-load-balancers=
Annotations:        flannel.alpha.coreos.com/backend-data: {"VNI":1,"VtepMAC":"6a:31:2f:19:43:df"}
                    flannel.alpha.coreos.com/backend-type: vxlan
                    flannel.alpha.coreos.com/kube-subnet-manager: true
                    flannel.alpha.coreos.com/public-ip: 172.20.10.5
                    kubeadm.alpha.kubernetes.io/cri-socket: /var/run/dockershim.sock
                    node.alpha.kubernetes.io/ttl: 0
                    projectcalico.org/IPv4Address: 172.20.10.5/28
                    projectcalico.org/IPv4IPIPTunnelAddr: 172.20.10.128
                    volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp:  Sat, 05 Mar 2022 14:45:38 +0000
Taints:             node.kubernetes.io/not-ready:NoSchedule
Unschedulable:      false
Lease:
  HolderIdentity:  archlinux-guest1
  AcquireTime:     <unset>
  RenewTime:       Sat, 05 Mar 2022 16:04:46 +0000
Conditions:
  Type                 Status  LastHeartbeatTime                 LastTransitionTime                Reason                       Message
  ----                 ------  -----------------                 ------------------                ------                       -------
  NetworkUnavailable   False   Sat, 05 Mar 2022 16:03:17 +0000   Sat, 05 Mar 2022 16:03:17 +0000   CalicoIsUp                   Calico is running on this node
  MemoryPressure       False   Sat, 05 Mar 2022 16:00:05 +0000   Sat, 05 Mar 2022 14:45:33 +0000   KubeletHasSufficientMemory   kubelet has sufficient memory available
  DiskPressure         False   Sat, 05 Mar 2022 16:00:05 +0000   Sat, 05 Mar 2022 14:45:33 +0000   KubeletHasNoDiskPressure     kubelet has no disk pressure
  PIDPressure          False   Sat, 05 Mar 2022 16:00:05 +0000   Sat, 05 Mar 2022 14:45:33 +0000   KubeletHasSufficientPID      kubelet has sufficient PID available
  Ready                False   Sat, 05 Mar 2022 16:00:05 +0000   Sat, 05 Mar 2022 14:45:33 +0000   KubeletNotReady              container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

Has anyone encountered the same problem? Does anyone already have found a solution for this error message? (docker: network plugin is not ready) Any help is very much appreciated. Can you maybe help me a step further in the analysis of this issue?

Did you ever find a solution?

Dear reader,

In my search to a solution I managed to find a tutorial for Ubuntu.
It explains how to install Cloud Foundry for Kubernetes and that worked great.

The source is: devopsschool.com
See this link: Getting Started with Cloud Foundry for Kubernetes using cf-for-k8s in Linux(Ubuntu) - DevOpsSchool.com

Let me know what you think.

Cheers

1 Like