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