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
Multiple interfaces in a POD #114
Comments
Hello @codemachino, The alternative would be to expect a list of dictionaries per file instead just one dictionary. Personally I would be okay with supporting both. |
@codemachino, have you worked this out for yourself?
I actually think that pods may as well have multiple addresses, and CNI should definitely support that. I'd like to learn about your use case! |
@steveej with single configuration file k8s_flannel.conf (for example -net=rkt.kubernetes.io), it is not possible to add Multiple interfaces, like eth0, eth1 to the pod ? we can create multiple interfaces with multiple network file, but we can create multiple interfaces with single network configuration |
@codemachino @steveej Please check the issue #343 , we developed Multus CNI for Multiple interface support in K8s kubernetes/kubernetes#27398 |
@steveej Here is one usecase where we need multiple virtual IPs for a single container (or pod) so that the reverse proxy can use one of these addresses randomly while proxying requests |
@thekalinga your links are only tenuously linked to this subject. If you have any specific experience with multiple IPs on a container, that would be an interesting blog post. More generally, as answered two years ago, CNI supports multiple interfaces by calling multiple times. So I'm going to close this as a non-issue. |
Hello guys, I was wondering if there are any thoughts/implementations on how to add multiple interfaces inside a POD and connect them to different, for example bridges.
Example:
If not would it be easy for someone to point at the right files to start hacking ? I am pretty new to open source communities but I would love to contribute here. I also understand that a POD is designed to have one IP address, but the the use case I am experimenting with adds this sort of complexity.
Thanks again
The text was updated successfully, but these errors were encountered: