-
Notifications
You must be signed in to change notification settings - Fork 11
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
Apparently no support for docker runtime #15
Comments
Finally, my assumption was wrong. route-override IS working on docker. While looking at kubelet logs, I realized that the routes were sent to the pod, but got refused to apply because of network unreacheable, which is, in fact, true. What would be needed maybe rather be able to point to a device (eth0) rather than IP |
I am running into the same issue i.e. using this with docker. The kubelet log shows "failed to add route...network is unreachable". It seems the plugin attempts to add route even before the interface is attached and has IP address. Any solution or workaround? |
As far as I know of, when you use plugins chain of cni and first CNI plugin assigned IP address, second and later plugins are invoked after IP address assignment. Could you please show your net-attach-def? |
Here is my net-attach-def. I am using dhcp ipam plugin which takes couple of seconds to get the IP address. Are these plugins invoked sequentially or in parallel? I am not able to find enough documentation on understand the order of execution. ` |
Q. I recommend you to configure your configuration in container, by your hand. |
@s1061123 Thank you also for closing the issue on multus-cni #602 |
Using this network-attachment in a docker container runtime environment:
I'm getting the net1 address added as expected, but no routes are being added. I'm changing the default gateway from the deployment annotation as per multus documentation (which works) but then I need to add 10.43.0.0/16 and 10.42.0.0/16 networks to point to 169.254.1.1 (which used to be the default gateway without multus) to allow the pod to reach internal kubernetes stuff (including DNS, which is at 10.43.0.10).
Routes are not being added. My runtime is docker (kubernetes deployment is rke-based).
The text was updated successfully, but these errors were encountered: