kubezero/charts/kubezero-metrics/charts/kube-prometheus-stack/charts/prometheus-node-exporter
Stefan Reimer 7faf1cb487 feat: latest prometheus versions 2022-12-06 20:43:11 +00:00
..
ci Integrate and patch prometheus-stack chart to customize alerts 2020-12-17 16:46:15 -08:00
templates feat: latest prometheus versions 2022-12-06 20:43:11 +00:00
.helmignore Integrate and patch prometheus-stack chart to customize alerts 2020-12-17 16:46:15 -08:00
Chart.yaml feat: latest prometheus versions 2022-12-06 20:43:11 +00:00
README.md feat: another round of upgrade to 1.23.11 2022-09-16 11:21:38 +02:00
values.yaml feat: latest prometheus versions 2022-12-06 20:43:11 +00:00

README.md

Prometheus Node Exporter

Prometheus exporter for hardware and OS metrics exposed by *NIX kernels, written in Go with pluggable metric collectors.

This chart bootstraps a prometheus Node Exporter daemonset on a Kubernetes cluster using the Helm package manager.

Get Repository Info

helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update

See helm repo for command documentation.

Install Chart

helm install [RELEASE_NAME] prometheus-community/prometheus-node-exporter

See configuration below.

See helm install for command documentation.

Uninstall Chart

helm uninstall [RELEASE_NAME]

This removes all the Kubernetes components associated with the chart and deletes the release.

See helm uninstall for command documentation.

Upgrading Chart

helm upgrade [RELEASE_NAME] [CHART] --install

See helm upgrade for command documentation.

3.x to 4.x

Starting from version 4.0.0, the node exporter chart is using the Kubernetes recommended labels. Therefore you have to delete the daemonset before you upgrade.

kubectl delete daemonset -l app=prometheus-node-exporter
helm upgrade -i prometheus-node-exporter prometheus-community/prometheus-node-exporter

If you use your own custom ServiceMonitor or PodMonitor, please ensure to upgrade their selector fields accordingly to the new labels.

From 2.x to 3.x

Change the following:

hostRootFsMount: true

to:

hostRootFsMount:
  enabled: true
  mountPropagation: HostToContainer

Configuring

See Customizing the Chart Before Installing. To see all configurable options with detailed comments, visit the chart's values.yaml, or run these configuration commands:

helm show values prometheus-community/prometheus-node-exporter