-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Proposal: Add metadata map field to Interface object in CNI Result #1050
Comments
/cc |
@dougbtv we discussed this briefly before the holidays, do you have any thoughts? |
First thought:
|
If there is some consensus that this is an avenue we would like to explore, the next steps would be:
|
In favor of moving forward on this. I also like the idea of having namespaced keys... Would we want a namespace field for the metadata as a whole? Or mix-matched within the |
If the case of a key that doesn't have cni.dev/ would libcni parse those out? Or will this be pass through? |
@maiqueb does this help kubevirt? |
CNI spec should be allowed to pass arbitrary data in CNI result from the container runtime to the OCI runtime. Currently, there is an ability to influence the inputs to the CNI network configuration via runtime configuration. In a similar way, the CNI can add a metadata field to interface to pass down additional data to OCI runtime. The metadata field will be added to the Interface struct as a map[string]string and be optional. We can standardize specific keys similar to our conventions. The NRI plugin system may also benefit from this additional metadata. Our main use case for this is to support virtual runtimes and possibly advanced networking scenarios. This has been requested several times however no one has completed the work.
Current:
Proposal:
Work Involved:
The text was updated successfully, but these errors were encountered: