Skip to content

Commit 394f411

Browse files
committed
refactor: update metrics port in deployment to standard prom port
1 parent 3e98689 commit 394f411

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

deployment/mcad-controller/templates/deployment.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ spec:
1212
port: 80
1313
targetPort: 8080
1414
- name: metrics
15-
port: 8083
16-
targetPort: 8083
15+
port: 9090
16+
targetPort: 9090
1717
selector:
1818
app: custom-metrics-apiserver
1919
---
@@ -25,8 +25,8 @@ metadata:
2525
spec:
2626
ports:
2727
- name: metrics
28-
port: 8083
29-
targetPort: 8083
28+
port: 9090
29+
targetPort: 9090
3030
selector:
3131
app: metrics
3232
---
@@ -276,7 +276,7 @@ spec:
276276
name: https
277277
- containerPort: 8080
278278
name: http
279-
- containerPort: 8083
279+
- containerPort: 9090
280280
name: metrics
281281
volumeMounts:
282282
- mountPath: /tmp

0 commit comments

Comments
 (0)