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:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user