Skip to content

Commit 2a91bf8

Browse files
committed
Add names to all service ports in api-gateway
1 parent 066ac58 commit 2a91bf8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

k8s/api-gateway.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ spec:
2727
memory: "256Mi"
2828
ports:
2929
- containerPort: 8001
30+
- containerPort: 8002
3031
envFrom:
3132
- secretRef:
3233
name: api-gateway-config
@@ -39,9 +40,12 @@ metadata:
3940
spec:
4041
type: LoadBalancer
4142
ports:
42-
- port: 8001
43+
- name: http
44+
port: 8001
4345
targetPort: 8001
44-
name: http
46+
- name: metrics
47+
port: 8002
48+
targetPort: 8002
4549
selector:
4650
app: api-gateway
4751
---

0 commit comments

Comments
 (0)