cuddle-rust-cli-plan/templates/deployment.yaml
kjuulh 02b2c986ed
feat: add base things
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-03-30 00:09:34 +01:00

21 lines
433 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ service }}"
spec:
selector:
matchLabels:
app: "{{ service }}"
template:
spec:
containers:
- name: "{{ service }}"
image: "deployment:latest"
ports:
- containerPort: 3000
name: external_http
- containerPort: 3001
name: internal_http
- containerPort: 3002
name: internal_grpc