You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
recognize the Wasm OCI Artifact type application/vnd.wasm.config.v0+json
pull the wasm layers into the containerd content store
Set up a scratch container storage layer
pass information to the shim about the layers pulled
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:
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: