I run join command on centos minon, the flannel container create faild.
master is ubuntu
kubernetes 1.6.2
flannel 0.7.1
docker logs
cp -f /etc/kube-flannel/cni-conf.json /etc/cni/net.d/10-flannel.conf
cp: can't create '/etc/cni/net.d/10-flannel.conf': Permission denied
Hi @insoz . The flannel daemon needs permissions to write to that directory. You can change the permissions with chmod
setenforce 0 resolved my problem.
Most helpful comment
setenforce 0resolved my problem.