add launch shell script

This commit is contained in:
Bartal Læarsson
2025-02-04 22:55:18 +00:00
parent 0702aa0700
commit bc7321b2a0
4 changed files with 13 additions and 0 deletions
@@ -0,0 +1,36 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: asyncapi
name: asyncapi-deployment
namespace: asyncapi
spec:
replicas: 2
selector:
matchLabels:
app: asyncapi
template:
metadata:
labels:
app: asyncapi
spec:
containers:
- name: asyncapi
image: iitaks.azurecr.io/asyncapi:1.2
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: asyncapi-service
namespace: asyncapi
spec:
selector:
app: asyncapi
type: NodePort
ports:
- protocol: TCP
port: 80
targetPort: 80