talos-extensions/container-runtime/spin
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-spin.part fix: unable to override runtime defaults 2025-01-10 19:10:22 +05:30
manifest.yaml feat: add spin wasm runtime 2024-04-10 16:27:35 +04:00
pkg.yaml docs: add SBOM for container-runtimes 2025-07-23 16:16:54 +02:00
README.md docs: update Spin README.md 2024-04-17 09:04:48 +05:30
vars.yaml feat: add spin wasm runtime 2024-04-10 16:27:35 +04:00

Spin 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: wasmtime-spin-v2
handler: spin

Testing

Apply the following manifest to run sample pod using spin:

apiVersion: v1
kind: Pod
metadata:
  name: spin-test
spec:
  containers:
  - command:
    - /
    image: ghcr.io/spinkube/containerd-shim-spin/examples/spin-rust-hello
    name: spin-test
  runtimeClassName: wasmtime-spin-v2

The pod should run without any errors:

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