What is metrics-server and what does it not do?
BeginnerProductionAutoscaling, Capacity & Cost
Answer
It collects CPU/memory usage from kubelets and serves metrics.k8s.io for kubectl top and HPA. It keeps only current values, not history, so it cannot answer "what was usage yesterday" and is not a monitoring system; use Prometheus for that.
More on Autoscaling, Capacity & Cost
How do you right-size requests and limits?BeginnerWhy does HPA need accurate CPU requests?BeginnerWhat are Spot instances good for on Kubernetes?BeginnerHow do you reduce Kubernetes cost quickly?BeginnerWhat is a good default for the node size and why?BeginnerWhat labels are needed for cost allocation?Beginner