Skip to content

z63d/runwasi-kind-workloads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

runwasi-kind-workloads

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published