Skip to main content

Why does Kubernetes use cadvisor for container metrics?

Senior Kubernetes
Quick Answer cAdvisor (Container Advisor) is embedded in kubelet and collects container-level resource metrics รขโ‚ฌโ€ CPU, memory, network, filesystem per container. It exposes these metrics that the metrics-server scrapes. Kubernetes uses cAdvisor data for HPA scaling decisions, resource limit enforcement visibility, and kubectl top pod output.

Answer

cadvisor provides CPU, memory, network, and filesystem stats for autoscaling and monitoring.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice