Home Explore Blog CI



kubernetes

2nd chunk of `content/en/blog/_posts/2015-05-00-Resource-Usage-Monitoring-Kubernetes.md`
8c9ce27c186288e93b6ec83f51c9481b41ab26db7dceb1ce000000010000045c
![](https://2.bp.blogspot.com/-6Bu15356Zqk/V4mGINP8eOI/AAAAAAAAAmk/-RwvkJUt4rY2cmjqYFBmRo25FQQPRb27ACEw/s640/monitoring-architecture.png)](https://2.bp.blogspot.com/-6Bu15356Zqk/V4mGINP8eOI/AAAAAAAAAmk/-RwvkJUt4rY2cmjqYFBmRo25FQQPRb27ACEw/s1600/monitoring-architecture.png)

Let’s look at some of the other components in more detail.



**cAdvisor**



cAdvisor is an open source container resource usage and performance analysis agent. It is purpose built for containers and supports Docker containers natively. In Kubernetes, cadvisor is integrated into the Kubelet binary. cAdvisor auto-discovers all containers in the machine and collects CPU, memory, filesystem, and network usage statistics. cAdvisor also provides the overall machine usage by analyzing the ‘root’? container on the machine.



On most Kubernetes clusters, cAdvisor exposes a simple UI for on-machine containers on port 4194. Here is a snapshot of part of cAdvisor’s UI that shows the overall machine usage:  


[![](https://3.bp.blogspot.com/-V5KAfomW7Cg/V4mGH6OTKSI/AAAAAAAAAmo/EZHcG0afrs0606eTDMCryT6j6SoNzu3PgCEw/s400/cadvisor.png)

Title: cAdvisor: Container Resource Usage and Performance Analysis
Summary
cAdvisor is an open-source agent integrated into the Kubelet binary in Kubernetes. It automatically discovers containers on a machine and collects resource usage statistics like CPU, memory, filesystem, and network usage. It also provides overall machine usage analysis. cAdvisor typically exposes a UI on port 4194 for on-machine container monitoring.