Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
when cni use ipvlan plugin, can't work with kube-dns #176
container use iptables nat to transfer traffic,when pod use ipvlan ,it can't use node iptables rules.
I think kube-dns use hostNetwork:true and scheduling to specify nodes, let ip unchanged,
Is it a good idea?
kube-dns does not use host network in the default setup. What is your environment?
Also, your issues sounds like a networking environment issue which is more appropriate for kubernetes/kubernetes. This repository is just the code for the DNS server, but does not contain the k8s cluster addon code.
The general observation about ipvlan is true - as long as you rely on the host's iptables for doing things like Services, you can not use a pass-thru driver like ipvlan or macvlan. The good news is that kube-proxy is just one way to implement Services. The bad news is that nobody has really published great alternatives yet.…
On Sun, Dec 3, 2017 at 12:32 AM, Gawain ***@***.***> wrote: container use iptables nat to transfer traffic,when pod use ipvlan ,it can't use node iptables rules. I think kube-dns use hostNetwork and scheduling to specify nodes, let ip unchanged, whole pods 's /etc/resolv.conf uses these ip. Is it a good idea? Give me some advice. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#176>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AFVgVCsKBpRVOpL_47qyj7Dp5gR9ZOIfks5s8lyogaJpZM4Qzo2i> .