-1

I'm continuing to get error ""Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Networ" while setting up single node Kubernetes cluster on CentOs 8,

  1. already tried to install CNI plug in with "dnf install containernetworking-plugins"
  2. https://projectcalico.docs.tigera.io/getting-started/kubernetes/hardway/install-cni-plugin

KubeletNotReady container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized

kubeadm.alpha.kubernetes.io/cri-socket: unix:///var/run/containerd/containerd.sock

I'm using containerd.io

SandOfTime
  • 692
  • 6
  • 15

1 Answers1

1

Apparently With the latest Kubernetes version (v1.24) to work, you need to run the following command, in case your container run time is containered.io

containerd config default > /etc/containerd/config.toml
systemctl restart containerd
SandOfTime
  • 692
  • 6
  • 15