Closed lbernail closed 4 years ago
cadvisor ignores interfaces prefixed with veth which means the kubelet network metrics do not include the interface to the host and are incomplete: https://github.com/google/cadvisor/blob/master/container/libcontainer/handler.go#L236-L247
veth
Solving this is easy and simply involve changing the containerInterface name. I think most users of the plugin start with the configuration example from the README (we certainly did) so having a name that works with cadvisor there makes sense.
cadvisor ignores interfaces prefixed with
veth
which means the kubelet network metrics do not include the interface to the host and are incomplete: https://github.com/google/cadvisor/blob/master/container/libcontainer/handler.go#L236-L247Solving this is easy and simply involve changing the containerInterface name. I think most users of the plugin start with the configuration example from the README (we certainly did) so having a name that works with cadvisor there makes sense.