The global monitoring feature provided by Alibaba Cloud Distributed Cloud Container Platform (ACK One) uses Managed Service for Prometheus to collect the metrics of different clusters, aggregates these metrics, and then displays global monitoring information about these clusters on a dashboard. This way, you can view the metrics of different clusters on one dashboard. This topic describes how to enable the global monitoring feature for a Fleet instance and view the global monitoring information.
Prerequisites
You have enabled the fleet management feature.
The Fleet instance has added two associated clusters (service provider cluster, service consumer cluster).
Background information
Due to business development, an enterprise may need to create multiple Kubernetes clusters for resource isolation, high availability, and disaster recovery. However, the monitoring system can display only one Kubernetes cluster at a time. In daily O&M work, engineers may need to frequently switch between clusters to view the cluster metrics and compare the metrics of different clusters to diagnose cluster exceptions. ACK One provides the global monitoring feature for multi-cluster management. This feature allows you to view the metrics of different clusters on one dashboard.
Terms
Associated Clusters: You can add any associated cluster within your Alibaba Cloud account to global monitoring, or remove it at any time. Before you can add an associated cluster, it must have Managed Service for Prometheus installed.
Procedure
Log on to the ACK One console. In the navigation pane on the left, choose .
-
On the Global Monitoring page, click Enable Global Monitoring, and then click OK.
NoteYou need to turn on the switch only for the first time you use the global monitoring feature.
-
In the navigation pane on the left, choose . For an associated cluster that has not been added, click Add to Global Monitoring in the Actions column.
-
After you add an associated cluster, its status in the Global Monitoring column changes to Added.