mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-25 00:19:10 +00:00
979349b96f
* [prometheus-nut-exporter] Fix selector * [prometheus-nut-exporter] Add tests * Remove tests because no serviceMonitor in pipeline |
||
---|---|---|
.. | ||
templates | ||
.helmignore | ||
Chart.yaml | ||
README.md | ||
values.yaml |
Prometheus NUT Exporter
This is a helm chart provides a service monitor to send NUT server metrics to a Prometheus instance. Based on Prometheus NUT Exporter.
TL;DR;
helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm install k8s-at-home/prometheus-nut-exporter
Installing the Chart
To install the chart with the release name prometheus-nut-exporter
:
helm install --name prometheus-nut-exporter k8s-at-home/prometheus-nut-exporter
Uninstalling the Chart
To uninstall/delete the prometheus-nut-exporter
deployment:
helm delete prometheus-nut-exporter
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
Read through the values.yaml file. It has several commented out suggested values.
Specify each parameter using the --set key=value[,key=value]
argument to helm install
. For example,
helm install --name prometheus-nut-exporter \
--set serviceMonitor.enabled=true \
k8s-at-home/prometheus-nut-exporter
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
helm install --name prometheus-nut-exporter -f values.yaml k8s-at-home/prometheus-nut-exporter
Metrics
You can find the exported metrics here: metrics.