-
Notifications
You must be signed in to change notification settings - Fork 67
Adding support for VM based runtimes #2
Comments
@mcastelino Are you using clear containers or hyperd in your kubernetes cluster? I worked in both container runtime long back, like to get your idea on it. |
@rkamudhan yes on Clear Containers. We already have support for vhost-user with our own CNM plugin for VPP. https://github.com/clearcontainers/vpp. However here we setup a dummy interface to send in the information. With CNI it should be much cleaner, specially since unrecognized fields are skipped. |
oh cool, got your idea on it. Is that runtime not designed to ignore additional fields? I may be wrong, runtime care for IPAM information only right? |
I meant json unmarshalling will drop that field so that runtimes that do not know or care about this field can ignore them till the spec gets standardized. They will not even see the field |
Today when invoking the CNI plugin the return value typically looks like
The vhost socket information is passed in via volumes in
However for VM based runtimes which can consume the vhost-user socket directly, sending out an additional value say
would be helpful.
A runtime would be free to ignore fields it did not recognize.
golang json unmarshalling skips fields it does not recognize.
The text was updated successfully, but these errors were encountered: