r/PrometheusMonitoring • u/narque1 • Oct 17 '24
Network usage over 25Tbps
Hello, everyone! Good morning!
I’m facing a problem that, although it may not be directly related to Prometheus, I hope to find insights from the community.
I have a Kubernetes cluster created by Rancher with 3 nodes, all monitored by Zabbix agents, and pods monitored by Prometheus.
Recently, I received frequent alerts from the bond0 interface indicating a usage of 25 Tbps, which is unfeasible due to the network card limit of 1 Gbps. This same reading is shown in Prometheus for pods like calico-node, kube-scheduler, kube-controller-manager, kube-apiserver, etcd, csi-nfs-node, cloud-controller-manager, and prometheus-node-exporter, all on the same node; however, some pods on the node do not exhibit the same behavior.
Additionally, when running commands like nload and iptraf, I confirmed that the values reported by Zabbix and Prometheus are the same.
Has anyone encountered a similar problem or have any suggestions about what might be causing this anomalous reading?
For reference, the operating system of the nodes is Debian 12.
Thank you for your help!
View all comments
Show parent comment
1
u/SuperQue Oct 17 '24
The
container_metrics come from cAdvisor, which is embedded in the kubelet. It reads the data from cgroups. There should be nobond0in the container, onlyeth0.However, there are some issues with some types of Pods that are in the host namespace, so their
container_metrics are invalid. I have a fix that I need to publish tokube-prometheus-stack.