-
Notifications
You must be signed in to change notification settings - Fork 586
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
Support CNI RuntimeConfig for portmap/bandwidth/ip/mac #387
Support CNI RuntimeConfig for portmap/bandwidth/ip/mac #387
Conversation
Pull Request Test Coverage Report for Build 910
💛 - Coveralls |
Doesn't it break backwards compatibility with CNI plugins that implemented the previous specification where e.g. I am specifically concerned about SR-IOV CNI plugin that implements e.g. |
@booxter , Thank you for your comment. I'm planning old CNI_ARGS support by 1-2 minor version (i.e. 6-8month) as K8s does (update version and change a lot). |
Hi @s1061123, what is the mechanism of Multus to reflect its version info into delegate plugins? How the delegate plugin will know through which channel the required parameters are available? Obviously, this will require the delegate plugin to be aware of Multus versions. |
@s1061123 thanks for reply. It's nice to hear that you plan for compatibility. I've reviewed the change proposed against and I couldn't find where the compatibility layer at least for MAC address is. I probably should try it out myself, but in the meantime, while I get there, could you please point out which particular lines implement the compatibility layer for CNI_ARGS? Thank you. |
Hey Tomo I went to do a functional test of this, and I might have something wrong, but, here's what I used... Here's the net-attach-def I used...
And I created a pod like so...
You can see Multus is built with the latest commit from this PR...
However, the pod fails to spin up with error output reading
|
@booxter nice catch! I may removed at debugging.... Now I've reverted. |
@dougbtv your yaml contains typo (s/"capabilites"/"capabilities"). well, I also took an hour to debug....
|
Tomo thanks for taking the time to debug my typo!!! Appreciate it. Works perfectly with that typo fixed. net-attach-def used:
pod spec used:
|
@s1061123 I tested this PR with SR-IOV CNI change, |
This changes introduce CNI RuntimeConfig for portmap, bandwidth, ip and mac for latest specification. IP and Mac is previously applied through CNI_ARGS, but it is changed to RuntimeConfig for now.
Applied this same test (with the correction) on the
|
@Elegant996 could you please show me your yaml file and |
This may be causes due to containernetworking/plugins#400 |
Update package multus-cni from v3.2 to current tip of master. Multus added support for multiple IPs/interface in this PR: k8snetworkplumbingwg/multus-cni#387 The latest available tag is v3.3, which does not include the above PR. Signed-off-by: vpickard <vpickard@redhat.com>
Update package multus-cni from v3.2 to current tip of master. Multus added support for multiple IPs/interface in this PR: k8snetworkplumbingwg/multus-cni#387 The latest available tag is v3.3, which does not include the above PR. Signed-off-by: vpickard <vpickard@redhat.com>
Update package multus-cni from v3.2 to current tip of master. Multus added support for multiple IPs/interface in this PR: k8snetworkplumbingwg/multus-cni#387 The latest available tag is v3.3, which does not include the above PR. Signed-off-by: vpickard <vpickard@redhat.com>
This changes introduce CNI RuntimeConfig for portmap, bandwidth, ip and mac for latest net-attach-def specification. IP and Mac is previously applied through CNI_ARGS, but it is changed to RuntimeConfig for now.