-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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 for Wasm OCI Artifacts #10179
Labels
Comments
@jsturtevant where is |
defined in https://tag-runtime.cncf.io/wgs/wasm/deliverables/wasm-oci-artifact/ along with other fields/types |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the problem you're trying to solve
Run WASM OCI artifact workloads in Containerd
The CNCF wasm working group has been working on defining an OCI artifact that will enable storing WASM workloads that will work across Wasm and Container Runtimes. The first version of the recommendations are published at https://tag-runtime.cncf.io/wgs/wasm/deliverables/wasm-oci-artifact/
In the Runwasi, we see this as the way forward for small, cross platform WASM and have been using OCI images with WASM layers, https://github.com/containerd/runwasi?tab=readme-ov-file#demo-2-using-oci-images-with-custom-wasm-layers. We would like to start to use this new artifact as tools like wasm's Warg registry will begin using it.
Describe the solution you'd like
Adding logic to containerd that will:
application/vnd.wasm.config.v0+json
In the future, it would be nice to be able to have a plug-in system that can pre-compile/compose wasm/etc components.
Additional context
The previous attempt at this was via annotations, and the initial feedback was we needed more clarity on the naming.
The current solution in runwasi is based on #9142 and requires the shim to talk back to containerd to load the layer properly. By adding knowledge of the Artifact type directly into container we can simplify and speed up the loading of the Wasm layers.
The text was updated successfully, but these errors were encountered: