Skip to content

Commit 8d45fd8

Browse files
committed
fix miss metrics endpoint bind
Signed-off-by: googs1025 <[email protected]>
1 parent 568e6e4 commit 8d45fd8

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

chart/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ spec:
4242
- containerPort: 9443
4343
name: webhook-server
4444
protocol: TCP
45+
- containerPort: 8080
46+
name: metrics
47+
protocol: TCP
4548
readinessProbe:
4649
httpGet:
4750
path: /readyz

config/manager/manager.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ spec:
7777
capabilities:
7878
drop:
7979
- "ALL"
80+
ports:
81+
- containerPort: 8080
82+
name: metrics
83+
protocol: TCP
8084
livenessProbe:
8185
httpGet:
8286
path: /healthz

0 commit comments

Comments
 (0)