Error installing cluster kubeadm

Hi,

I was creating a new cluster in kubernetes using kubeadm tool, and when I have created the cluster, I couldn’t create any pod, I had this error

docker_sandbox.go:400] failed to read pod IP from plugin/docker: networkPlugin cni failed on the status hook for pod “calico-kube-controllers-76d4774d89-47k82_kube-system”: CNI failed to retrieve network namespace path: cannot find network namespace for the terminated container

What was the problem?

Thanks

Hello juanpi,
You should install a pod network. Please check this useful link to do that https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/#pod-network