Update prometheus chart (#3783)

Add additional values to the prometheus chart node-exporter values.
* Add volume mount/mapping to enable monitoring of host ZFS filesystems.
* Add host root mapping flag to correctly map mountpoints.
* Update mountpoint filter to exclude a noisy of container/ZFS volumes.

Signed-off-by: SuperQ <superq@gmail.com>

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
Ben Kochie
2022-09-15 14:19:23 +02:00
committed by GitHub
parent 4343a84f39
commit 8ccc734307
2 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
type: application
version: 4.0.82
version: 4.0.83
annotations:
truecharts.org/catagories: |
- metrics
+10 -1
View File
@@ -1150,8 +1150,17 @@ node-exporter:
enabled: true
jobLabel: jobLabel
extraArgs:
collector.filesystem.ignored-mount-points: "^/(dev|proc|sys|var/lib/docker/.+)($|/)"
collector.filesystem.ignored-mount-points: "^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/.+|var/db/system/.+|mnt/[a-zA-Z0-9-_\\.]+/ix-applications/.+)($|/)"
collector.filesystem.ignored-fs-types: "^(autofs|binfmt_misc|cgroup|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|sysfs|tracefs)$"
path.rootfs: /host
extraVolumes:
- name: host
hostPath:
path: /
extraVolumeMounts:
- name: host
mountPath: /host
readOnly: true
## @param kube-state-metrics [object] Node Exporter deployment configuration
##
kube-state-metrics: