Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when cni use ipvlan plugin, can't work with kube-dns #176

Closed
woshihaoren opened this issue Dec 3, 2017 · 4 comments

Comments

@woshihaoren
Copy link

commented Dec 3, 2017

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,
whole pods 's /etc/resolv.conf uses these ip.

Is it a good idea?
Give me some advice.

@bowei

This comment has been minimized.

Copy link
Member

commented Dec 4, 2017

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.

@thockin

This comment has been minimized.

Copy link
Member

commented Dec 4, 2017

@woshihaoren

This comment has been minimized.

Copy link
Author

commented Dec 5, 2017

yeah , pass-thru dirver can't use Services.. I close it.

@woshihaoren woshihaoren closed this Dec 5, 2017

@wanghaibo

This comment has been minimized.

Copy link

commented Jul 26, 2018

maybe we can use ipvlan like this with a Unnumbered point-to-point interface as default route

@at15 at15 referenced this issue May 14, 2019

Closed

Weekly-123 #109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.