-
Notifications
You must be signed in to change notification settings - Fork 64
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
WASM support #120
Comments
naive question, NRI defines an API and inteface via GRPC ... does not make this agnostic of the language? |
WebAssembly and gRPC clients/servers do not work well together because of API limitations: https://go.dev/blog/wasi#limitations WASM binaries following the protobuf service definitions would work, see: https://github.com/knqyf263/go-plugin Unfortunately, I wasn’t able to compile a plugin using the service definition from the NRI, because the API imports I could imagine that the NRI extends to binary plugins, which then opens the support for WASM. Another limitation is that the generated code cannot be used together, see knqyf263/go-plugin#67 |
Definitely ! This has come up a few times already in various discussions, but we have haven't done anything practical on this front yet. |
Hey folks, I'm playing around with the idea of a generic CRI plugin interface for CRI-O based on WASM binaries: cri-o/cri-o#8715
A pre-compiled WASM plugin can be used to modify data before, after or even during an ongoing CRI RPC.
Would it be interesting for the NRI to support WASM as well?
The text was updated successfully, but these errors were encountered: