Skip to content

Commit 84ae111

Browse files
authored
Merge pull request #110 from CS3219-AY2425S1/cloud-fix
Add names to all service ports in api-gateway
2 parents 7f4a40c + 2a91bf8 commit 84ae111

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)