2024-02-03 19:13:55 +01:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: "{{ service }}"
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: "{{ service }}"
|
|
|
|
template:
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: "{{ service }}"
|
|
|
|
image: "deployment:latest"
|
|
|
|
ports:
|
|
|
|
- containerPort: 3000
|
2024-02-03 19:34:09 +01:00
|
|
|
name: external-http
|
2024-02-03 19:13:55 +01:00
|
|
|
- containerPort: 3001
|
2024-02-03 19:34:09 +01:00
|
|
|
name: internal-http
|
2024-02-03 19:13:55 +01:00
|
|
|
- containerPort: 3002
|
2024-02-03 19:34:09 +01:00
|
|
|
name: internal-grpc
|