diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b3734f5b..20b069b5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -87,7 +87,7 @@ jobs: tags: | ghcr.io/deislabs/containerd-wasm-shims/examples/wws-js-hello:${{ env.RELEASE_VERSION }} ghcr.io/deislabs/containerd-wasm-shims/examples/wws-js-hello:latest - context: images/slight + context: images/wws platforms: wasi/wasm - name: untar x86_64 musl artifacts into ./deployments/k3d/.tmp dir run: | diff --git a/deployments/workloads/workload.yaml b/deployments/workloads/workload.yaml index 8a8a8aac..f1b65e24 100644 --- a/deployments/workloads/workload.yaml +++ b/deployments/workloads/workload.yaml @@ -93,9 +93,15 @@ spec: runtimeClassName: wasmtime-wws containers: - name: wws-hello - imagePullPolicy: Never image: ghcr.io/deislabs/containerd-wasm-shims/examples/wws-js-hello:v0.7.0 command: ["/"] + resources: # limit the resources to 128Mi of memory and 100m of CPU + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi --- apiVersion: v1 kind: Service