Created
March 15, 2024 13:32
-
-
Save rajatjindal/c17c5dba1e86b9403a84e16012f89f49 to your computer and use it in GitHub Desktop.
spin-side-car.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: spin-test-multi-container | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: | |
| app: spin-test | |
| template: | |
| metadata: | |
| labels: | |
| app: spin-test | |
| spec: | |
| runtimeClassName: wasmtime-spin-v2 | |
| containers: | |
| - name: spin-test | |
| image: rajatjindal/http-rust-cooler:v1 | |
| command: ["/"] | |
| ports: | |
| - containerPort: 80 | |
| - name: spin-test-service | |
| image: mendhak/http-https-echo | |
| ports: | |
| - containerPort: 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment