mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-08-30 10:51:17 +02:00
Merge pull request #890 from paulfantom/no_veth
remove virtual interfaces from node_exporter metrics
This commit is contained in:
commit
ab8132a33d
@ -172,6 +172,9 @@ function(params) {
|
||||
'--no-collector.wifi',
|
||||
'--no-collector.hwmon',
|
||||
'--collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)',
|
||||
'--collector.netclass.ignored-devices=^(veth.*)$',
|
||||
'--collector.netdev.device-blacklist=^(veth.*)$',
|
||||
// '--collector.netdev.device-exclude=^(veth.*)$', // TODO(paulfantom): change with next version of node_exporter (post 1.0.1)
|
||||
],
|
||||
volumeMounts: [
|
||||
{ name: 'sys', mountPath: '/host/sys', mountPropagation: 'HostToContainer', readOnly: true },
|
||||
|
@ -30,6 +30,8 @@ spec:
|
||||
- --no-collector.wifi
|
||||
- --no-collector.hwmon
|
||||
- --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)
|
||||
- --collector.netclass.ignored-devices=^(veth.*)$
|
||||
- --collector.netdev.device-blacklist=^(veth.*)$
|
||||
image: quay.io/prometheus/node-exporter:v1.0.1
|
||||
name: node-exporter
|
||||
resources:
|
||||
|
Loading…
x
Reference in New Issue
Block a user