Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
kube-dns - Failed create pod sandbox #56902
Is this a BUG REPORT or FEATURE REQUEST?:
cluster initialized with kubeadm, kube-dns pods hang in ContainerCreating status. With failing pod sandbox creation.
What you expected to happen:
kube-dns pods running
How to reproduce it (as minimally and precisely as possible):
sudo kubeadm init --pod-network-cidr=10.244.0.0/16 --token-ttl=0 --token=bd11ac.54147b1b3fd9620d --apiserver-cert-extra-sans=kube,kube.internal
kubectl taint nodes kube node-role.kubernetes.io/master-
with flannel network plugin:
checked also with kube-router with same problem:
Anything else we need to know?:
vm hosted on hyper-v with 4 cores, 10240MB ram configuration
@feiskyer added part from logs, looks like there is some problem with flannel and cni. I'll check the logs with kube-router plugin and update with that too.
Well I checked the cni bin folder and it's really missing portmap. I think this is a bit strange as everything was working couple weeks ago when I started playing with k8s.
Dear cspwizard & feiskyer
@00mfg Check the kubelet logs, if the problem is about portmap just download the 0.6 version of CNI (https://github.com/containernetworking/cni/releases) for your platform and put it to cni folder (/opt/cni/bin )
Hi all, i faced the similar issue of unable to find portmap plugin. How did you fixed it? I used https://github.com/coreos/flannel/blob/master/Documentation/kube-flannel.yml#L107 that uses flannel image of 0.9.1. I think this is the latest. Shall i upgrade kubernetes? Right now I am running K8S 1.8.5
you just need download portmap from https://github.com/projectcalico/cni-plugin/releases/download/v1.9.1/portmap,than put it to /opt/cni/bin
referenced this issue
Jan 16, 2018
I am facing a similar issue.
I created a cluster in aws eks using terraform script given in https://www.terraform.io/docs/providers/aws/guides/eks-getting-started.html#guide-overview
After this I was deploying the guestbook application as given in https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html
Once my pods got created I noticed that they where not ready. I saw this in my
I tried adding flannel using
Even then I was not getting the issue.
I tried to use
When I tried getting the logs
@akhilyendluri I'm in the same situation as yours. Trying to run a simple demo app using EKS.
I tried recreating