21 lines
433 B
YAML
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
|