runwasi の containerd-shim-wasmtime を使った kind で動かした
cargo component new sleep-wasm
sleep-wasm/ で実行
cargo component build --target wasm32-wasip2
wasmtime target/wasm32-wasip2/debug/sleep-wasm.wasm
docker build --platform linux/amd64 -t ghcr.io/z63d/sleep-wasm-ociimage .
docker run --rm --runtime=io.containerd.wasmtime.v1 --platform=linux/amd64 ghcr.io/z63d/sleep-wasm-ociimage
docker push ghcr.io/z63d/sleep-wasm-ociimage
wkg oci push ghcr.io/z63d/sleep-wasm-wasmociartifact target/wasm32-wasip2/debug/sleep-wasm.wasm
kubectl apply -f deployment.yaml