-
Notifications
You must be signed in to change notification settings - Fork 334
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
ovnkube-node: add support for comma-separated IPs in external_ids:ovn-encap-ip #4177
Conversation
…-encap-ip external_ids:ovn-encap-ip can be a list of IP address separted by comma, ovnkube-node should be able to startup without issue. Signed-off-by: Lei Huang <leih@nvidia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does having multiple encap-ips actually do anything with how OVNK configures OVN? @dceara maybe you can comment here. I'm not sure with OVN IC if we would even setup multiple tunnels if there were multiple encap ips provided.
Thanks for looking at this PR @trozet.
For current upstream, it doesn't. This is just for making ovn-k8s works with legit A feature added to OVN to support multi encap ips(see ovn-org/ovn@41eefcb, it depends on the change in this PR), the corresponding feature on ovn-k8s will be pushed later. |
Just a note, this requires bumping the OVN version used in CI to the freshly released OVN 24.03.0. |
Nope, this change doesn't require OVN version change. Supporting comma-separated IPs in external_ids:ovn-encap-ip is a old feature. |
I was under the impression that without ovn-org/ovn@41eefcb only the first IP will be used. |
yes, now only the firstly IP is used, this PR just allow it to be a list. Another PR will be pushed later for corresponding changes in ovn-k8s for ovn-org/ovn@41eefcb. |
I think it would be better to hold off on merging this PR, until the full functionality is introduced. Otherwise we are just adding a config option that isn't being used. |
This change is not bound to the new multi encap ips feature added by ovn-org/ovn@41eefcb -- If there is any concern regarding this PR, it is okay to hold off on this change. |
Please reopen when the full feature/use case is identified that we want to enable in ovnk. |
external_ids:ovn-encap-ip can be a list of IP address separted by comma, ovnkube-node should be able to startup without issue.