cuddle-rust-service-plan/templates/deployment.yaml
kjuulh 7c83d04f48
Some checks failed
continuous-integration/drone/push Build is failing
feat: adding grpc
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-05-29 21:44:40 +02:00

23 lines
493 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: 4000
name: external_grpc
- containerPort: 4001
name: internal_grpc