Updated on 2026-09-28 GMT+08:00

Kubernetes Metrics Server

Kubernetes provides resource usage metrics, such as container CPU usage and memory usage, through the Metrics API. These metrics can be directly accessed by users (by running the kubectl top command) or used by a controller in the cluster (for example, Horizontal Pod Autoscaler) to make decisions.

Kubernetes Metrics Server is an aggregator for monitoring data of core cluster resources. You can quickly install this add-on on the CCE console.

After this add-on is installed, you can create HPA policies. For details, see Creating an HPA Policy.

The official community project and documentation are available at https://github.com/kubernetes-sigs/metrics-server.

Editing the Add-on

  1. Log in to the CCE console, click the cluster name to go to the cluster console, choose Add-ons in the navigation pane, find the Kubernetes Metrics Server add-on on the right, and click Edit.
  2. On the Edit Add-on slide-out panel, modify the specifications.

    You can adjust the number of add-on pods and resource quotas as needed. The single-pod deployment does not provide high availability. If the add-on pod fails, the add-on becomes unavailable.

  3. Click OK.

Components

Table 1 Kubernetes Metrics Server component

Component

Description

Resource Type

metrics-server

Aggregator for the monitored data of cluster core resources, which is used to collect and aggregate resource usage metrics obtained through the Metrics API in the cluster

Deployment

Release History

Table 2 Release history

Add-on Version

Supported Cluster Version

New Feature

Community Version

1.4.6

  • v1.36
  • v1.35
  • v1.34
  • v1.32
  • v1.31

Supported CCE Autopilot clusters v1.36 and updated the add-on to its community version v0.8.1.

0.8.1

1.4.5

  • v1.35
  • v1.34
  • v1.32
  • v1.31

Supported CCE Autopilot clusters v1.35.

0.8.0

1.4.3

  • v1.34
  • v1.32
  • v1.31

Supported CCE Autopilot clusters v1.34 and updated the add-on to its community version v0.8.0.

0.8.0

1.4.1

  • v1.32
  • v1.31
  • v1.28

Supported CCE Autopilot clusters v1.32.

0.6.2

1.3.42

  • v1.31
  • v1.28
  • v1.27

Supported CCE Autopilot clusters v1.31.

0.6.2

1.3.41

  • v1.28
  • v1.27

Fixed some issues.

0.6.2

1.3.40

  • v1.28
  • v1.27

Fixed some issues.

0.6.2

1.3.39

  • v1.28
  • v1.27

Fixed some issues.

0.6.2

1.3.38

  • v1.28
  • v1.27
  • Supported anti-affinity scheduling of add-on pods on nodes in different AZs.
  • Changed the default taint tolerance duration to 60s.
  • Synchronized time zones used by the add-on and the node.

0.6.2