NetworkPlugin cni failed to set up pod "kube-dns-XXXX" network: open /proc/sys/net/ipv6/conf/eth0/accept_dad: no such file or directory

1/9/2018

When setting up kube-dns using kubeadm init I am getting this error in the log:

NetworkPlugin cni failed to set up pod "kube-dns-XXXX" network: open /proc/sys/net/ipv6/conf/eth0/accept_dad: no such file or directory

We do not support IPV6 on our images so this directory /proc/sys/net/ipv6 does not exist.

Does anyone know if there is a way for me to stop the kube-dns setup looking up IPV6 network resources when starting up?

If it's of any help I install 1.8.5 with

yum install -y kubelet-1.8.5-0 kubeadm-1.8.5-0 kubectl-1.8.5-0

And the pod network setup is flannel.

-- Lee Cooper
kube-dns
kubernetes

0 Answers