All Products
Search
Document Center

Container Compute Service:metrics-server

Last Updated:Dec 19, 2024

The metrics-server component is used to collect monitoring metrics. You can use metrics-server to collect monitoring metrics from your cluster. This topic describes the features, usage notes, and release notes for metrics-server.

Introduction

The metrics-server component is a resource monitoring tool that ACS develops based on open source Metrics Server. metrics-server collects resource usage metrics for all pods in your cluster and enables the Horizontal Pod Autoscaler (HPA) to work based on the collected metrics. You can call the Metrics API to retrieve monitoring metrics.

For more information about open source Metrics Server, see Kubernetes Metrics Server.

Usage notes

By default, metrics-server is installed in ACS clusters. You can use the following method to enable the basic monitoring feature.

  1. Log on to the ACS console. In the left-side navigation pane, click Clusters.

  2. On the Clusters page, find the cluster that you want to manage and click its ID. In the left-side navigation pane of the cluster details page, choose Operations > Add-ons.

  3. Click the Logs and Monitoring tab, find the metrics-server component and click Configuration.

  4. In the dialog box that appears, select Enables Kubernetes Monitoring of CloudMonitor and click OK.

Release notes

January 2024

Version number

Release date

Description

Impact

v0.3.9.7-85b3699-aliyun

January 2024

  • The monitoring performance for large-scale clusters is optimized.

  • The scaling mechanism of the Horizontal Pod Autoscaler (HPA) is optimized to ensure that the scaling operations are stable even during rolling updates. You must configure the --enable-hpa-rolling-update-skipped=true parameter.

No impact on workloads.