Metrics Server
Metrics Server is a Kubernetes component that collects data about resource utilization in the cluster and through the Metrics API transfers them to other Kubernetes components. Horizontal Pod Autoscaling (Horizontal Pod Autoscaling) and Vertical Pod Autoscaling (Vertical Pod Autoscaling) work based on data from Metrics Server. You can view the metrics using kubectl top
. Auto-scaling of node groups on cloud servers can be configure with Cluster Autoscaler. To monitor see the logs in the Managed Kubernetes cluster or use special applications, such as Prometheus.
Metrics Server is installed by default in Managed Kubernetes clusters version 1.27 and higher. You can update the cluster version on the cloud server.
Read more about how Metrics Server works in the article Kubernetes Metrics Server in the Kubernetes documentation.