talos-extensions/container-runtime/wasmedge
Mateusz Urbanek c66e678b2b
docs: add SBOM for container-runtimes
Partial for #10940

Signed-off-by: Mateusz Urbanek <mateusz.urbanek@siderolabs.com>
2025-07-23 16:16:54 +02:00
..
10-wasm.part fix: unable to override runtime defaults 2025-01-10 19:10:22 +05:30
manifest.yaml feat: add wasm runtime 2024-02-05 13:13:05 +05:30
pkg.yaml docs: add SBOM for container-runtimes 2025-07-23 16:16:54 +02:00
README.md feat: add wasm runtime 2024-02-05 13:13:05 +05:30
vars.yaml feat: add wasm runtime 2024-02-05 13:13:05 +05:30

WasmEdge extension

Installation

See Installing Extensions.

Usage

In order to create the Wasm workload, a runtimeclass needs to be created.

apiVersion: node.k8s.io/v1
kind: RuntimeClass
metadata:
  name: wasmedge
handler: wasmedge

Testing

Apply the following manifest to run sample pod using wasmedge:

apiVersion: v1
kind: Pod
metadata:
  name: wasmedge-test
spec:
  restartPolicy: Never
  runtimeClassName: wasmedge
  containers:
  - name: wasmedge-test
    image: wasmedge/example-wasi:latest

The pod should run without any errors:

$ kubectl get pods
NAME            READY   STATUS      RESTARTS   AGE
wasmedge-test   0/1     Completed   0          28s