Skip to content

Commit e062b1a

Browse files
authored
Merge pull request #2319 from k8s-infra-cherrypick-robot/cherry-pick-2317-to-release-0.18
[release-0.18] fix(deploy,helm,overlays): use correct port for PodMonitor
2 parents 7191b3e + f241796 commit e062b1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deployment/helm/node-feature-discovery/templates/prometheus.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
- honorLabels: true
1515
interval: {{ .Values.prometheus.scrapeInterval }}
1616
path: /metrics
17-
port: metrics
17+
port: http
1818
scheme: http
1919
namespaceSelector:
2020
matchNames:

deployment/overlays/prometheus/monitor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
- honorLabels: true
1111
interval: 10s
1212
path: /metrics
13-
port: metrics
13+
port: http
1414
scheme: http
1515
namespaceSelector:
1616
matchNames:

0 commit comments

Comments
 (0)