Skip to content

Commit de8665b

Browse files
authored
[kube-prometheus-stack] Add node-exporter attachMetadata configuration (#5038)
* chore: add node-exporter attachMetadata configuration Signed-off-by: liyang <[email protected]> * chore: bump verion to 66.3.1 Signed-off-by: liyang <[email protected]> * chore: comment attachMetadata configuration Signed-off-by: liyang <[email protected]> --------- Signed-off-by: liyang <[email protected]>
1 parent 86b2818 commit de8665b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

charts/kube-prometheus-stack/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ name: kube-prometheus-stack
2323
sources:
2424
- https://github.com/prometheus-community/helm-charts
2525
- https://github.com/prometheus-operator/kube-prometheus
26-
version: 66.3.0
26+
version: 66.3.1
2727
appVersion: v0.78.2
2828
kubeVersion: ">=1.19.0-0"
2929
home: https://github.com/prometheus-operator/kube-prometheus

charts/kube-prometheus-stack/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2271,6 +2271,12 @@ prometheus-node-exporter:
22712271
# targetLabel: nodename
22722272
# replacement: $1
22732273
# action: replace
2274+
2275+
## Attach node metadata to discovered targets. Requires Prometheus v2.35.0 and above.
2276+
##
2277+
# attachMetadata:
2278+
# node: false
2279+
22742280
rbac:
22752281
## If true, create PSPs for node-exporter
22762282
##

0 commit comments

Comments
 (0)