forked from k-space/kube
monitoring: Update node-exporter
This commit is contained in:
parent
c04a7b7f67
commit
9bcad2481b
@ -33,7 +33,7 @@ spec:
|
||||
groups:
|
||||
- name: node-exporter
|
||||
rules:
|
||||
- alert: ZfsOfflinePool
|
||||
- alert: ZfsDegradedPool
|
||||
expr: node_zfs_zpool_state{state!="online"} > 0
|
||||
for: 1m
|
||||
labels:
|
||||
@ -377,13 +377,19 @@ spec:
|
||||
- name: node-exporter
|
||||
args:
|
||||
- --web.listen-address=0.0.0.0:9101
|
||||
- --path.sysfs=/host/sys
|
||||
- --path.rootfs=/host/root
|
||||
- --no-collector.bonding
|
||||
- --no-collector.fibrechannel
|
||||
- --no-collector.infiniband
|
||||
- --no-collector.nfs
|
||||
- --no-collector.nfsd
|
||||
- --no-collector.nvme
|
||||
- --no-collector.zfs
|
||||
- --no-collector.tapestats
|
||||
- --no-collector.wifi
|
||||
- --collector.filesystem.mount-points-exclude=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)
|
||||
- --collector.filesystem.mount-points-exclude=^/(dev|proc|sys|var/lib/docker|var/lib/kubelet/pods|run)(/.+)?$
|
||||
- --collector.netclass.ignored-devices=^(veth|cali|vxlan|cni|vnet|tap|lo|wg)
|
||||
- --collector.netdev.device-exclude=^(veth|cali|vxlan|cni|vnet|tap|lo|wg)
|
||||
- --collector.diskstats.ignored-devices=^(sr[0-9][0-9]*)$
|
||||
- --collector.diskstats.ignored-devices=^(sr|loop)[0-9][0-9]*$
|
||||
image: mirror.gcr.io/prom/node-exporter:v1.8.2
|
||||
resources:
|
||||
limits:
|
||||
@ -393,13 +399,11 @@ spec:
|
||||
cpu: 5m
|
||||
memory: 20Mi
|
||||
volumeMounts:
|
||||
- mountPath: /host/sys
|
||||
mountPropagation: HostToContainer
|
||||
name: sys
|
||||
- name: sys
|
||||
mountPath: /sys
|
||||
readOnly: true
|
||||
- mountPath: /host/root
|
||||
mountPropagation: HostToContainer
|
||||
name: root
|
||||
- name: proc
|
||||
mountPath: /proc
|
||||
readOnly: true
|
||||
ports:
|
||||
- containerPort: 9101
|
||||
@ -419,9 +423,9 @@ spec:
|
||||
tolerations:
|
||||
- operator: Exists
|
||||
volumes:
|
||||
- hostPath:
|
||||
- name: sys
|
||||
hostPath:
|
||||
path: /sys
|
||||
name: sys
|
||||
- hostPath:
|
||||
path: /
|
||||
name: root
|
||||
- name: proc
|
||||
hostPath:
|
||||
path: /proc
|
||||
|
Loading…
Reference in New Issue
Block a user