Starting from 00:00:00 (UTC+8) on April 14, 2025, Cloud Monitor no longer provides the Kubernetes container monitoring feature for new users. For more information, see Announcement on the discontinuation of the Kubernetes container monitoring feature of Cloud Monitor. We recommend that you use the container monitoring capability provided by Managed Service for Prometheus. For more information, see Monitor an ACK cluster.
Prerequisites
Container Service for Kubernetes (ACK) is activated and a cluster is created. For more information, see Quick start for first-time users.
The metrics-server component of the ACK cluster is upgraded to V0.3.8.5 or later. For more information, see Update the metrics-server component before you update the Kubernetes version to 1.12.
The Kubernetes container monitoring feature of Cloud Monitor is disabled by default for ACK clusters created after 10:00:00 on April 25, 2024. Before you can use Cloud Monitor to monitor an ACK cluster, you must manually enable the Kubernetes container monitoring feature for the ACK cluster.
Procedure
Log on to the ACK console.
In the left-side navigation pane, click
.On the Clusters page, find the cluster that you want to manage, click More in the Actions column, and then choose
.In the Logs and Monitoring section of the Core Components tab, click Configuration in the lower-right corner of the metrics-server component.
In the metrics-server Parameters dialog box, select Enables Kubernetes Monitoring of CloudMonitor.
Click OK.
View the monitoring data of the ACK cluster. For more information, see View the monitoring data of an ACK cluster.