Skip to content

Commit

Permalink
[kube-prometheus-stack] Add node-exporter attachMetadata configuration (
Browse files Browse the repository at this point in the history
#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]>
  • Loading branch information
daviderli614 authored Dec 4, 2024
1 parent 86b2818 commit de8665b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kube-prometheus-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 66.3.0
version: 66.3.1
appVersion: v0.78.2
kubeVersion: ">=1.19.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
Expand Down
6 changes: 6 additions & 0 deletions charts/kube-prometheus-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2271,6 +2271,12 @@ prometheus-node-exporter:
# targetLabel: nodename
# replacement: $1
# action: replace

## Attach node metadata to discovered targets. Requires Prometheus v2.35.0 and above.
##
# attachMetadata:
# node: false

rbac:
## If true, create PSPs for node-exporter
##
Expand Down

0 comments on commit de8665b

Please sign in to comment.