Skip to content

Commit 4faeb49

Browse files
z0rcQuentinBisson
andauthored
[kube-prometheus-stack] set expected jobLabel for node-exporter PodMonitor (#6101)
Signed-off-by: Ihor Urazov <[email protected]> Signed-off-by: Quentin Bisson <[email protected]> Co-authored-by: Quentin Bisson <[email protected]>
1 parent 74ce1ef commit 4faeb49

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

charts/kube-prometheus-stack/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ name: kube-prometheus-stack
3131
sources:
3232
- https://github.com/prometheus-community/helm-charts
3333
- https://github.com/prometheus-operator/kube-prometheus
34-
version: 77.2.0
34+
version: 77.2.1
3535
# renovate: github=prometheus-operator/prometheus-operator
3636
appVersion: v0.85.0
3737
kubeVersion: ">=1.25.0-0"

charts/kube-prometheus-stack/values.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2528,7 +2528,7 @@ nodeExporter:
25282528
prometheus-node-exporter:
25292529
namespaceOverride: ""
25302530
podLabels:
2531-
## Add the 'node-exporter' label to be used by serviceMonitor to match standard common usage in rules and grafana dashboards
2531+
## Add the 'node-exporter' label to be used by serviceMonitor and podMonitor to match standard common usage in rules and grafana dashboards
25322532
##
25332533
jobLabel: node-exporter
25342534
releaseLabel: true
@@ -2608,6 +2608,11 @@ prometheus-node-exporter:
26082608
# attachMetadata:
26092609
# node: false
26102610

2611+
podMonitor:
2612+
enabled: false
2613+
2614+
jobLabel: jobLabel
2615+
26112616
rbac:
26122617
## If true, create PSPs for node-exporter
26132618
##

0 commit comments

Comments
 (0)