Skip to content

Commit

Permalink
fix: remove command from the workloads
Browse files Browse the repository at this point in the history
This commits removes the command from workloads yamls. This is because
now the spin image has an explicit entrypoint pointing to a
executable wasm module, which is required by the libcontainer.

I am expecting that this will go away with futuer iteration of the
libcontainer

Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
  • Loading branch information
Mossaka committed Jul 29, 2023
1 parent f998bbe commit 5f8df2c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion deployments/k3d/workload/workload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ spec:
- name: spin-hello
imagePullPolicy: Never
image: wasmtest_spin:latest
command: ["/"]
---
apiVersion: v1
kind: Service
Expand Down
1 change: 0 additions & 1 deletion tests/workloads/workload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ spec:
- name: testwasm
image: docker.io/library/spin-hello-world:latest
imagePullPolicy: Never # prevent k8s from pulling the image from a registry
command: ["/"]
resources: # limit the resources to 128Mi of memory and 100m of CPU
limits:
cpu: 100m
Expand Down

0 comments on commit 5f8df2c

Please sign in to comment.