You can deploy storage-operator in a Container Service for Kubernetes (ACK) cluster. After storage-operator is deployed, you can view the status of persistent volumes (PVs) and persistent volume claims (PVCs), the trend of PV and PVC status, and the PVs and PVCs that are in the abnormal state. This topic describes how to monitor the storage resources of an ACK cluster by using storage-operator.
Prerequisites
An ACK cluster is created. For more information, see Create an ACK managed cluster.
Billing rules for storage-operator
After you enable the monitoring feature, the storage-operator component will automatically send metrics to Managed Service for Prometheus. These metrics are considered custom metrics. Fees may be charged for custom metrics.
To avoid incurring additional fees, we recommend that you read and understand Billing overview before you enable this feature. The fees may vary based on the cluster size and number of applications. You can follow the steps in View resource usage to monitor and manage resource usage.
Procedure
Install storage-operator.
Log on to the ACK console. In the left-side navigation pane, click Clusters.
On the Clusters page, click the name of the cluster that you want to manage and choose in the left-side navigation pane.
Click the Storage tab, find storage-operator, and then click Install.
View monitoring data.
In the left-side navigation pane of the details page, choose .
If storage-operator is not installed, click Install to install the component.
Click Storage Monitoring, and then click CSI - Cluster Dimension to go to the monitoring dashboards of the CSI plug-in.
Metric
Description
Dimension
PV Status Statistics
Distribution of PV status.
Quantity and proportion.
PVC Status Statistics
Distribution of PVC status.
Quantity and proportion.
PV Total Num
Trend of PV status.
Quantity
PVC Total Num
Trend of PVC status.
Quantity
Unbound PV Details
Detailed information about PVs that are not in the Bound state. You can filter data by keyword.
Information is displayed in the following dimensions: time, name, status, and type.
Unbound PVC Details
Detailed information about PVCs that are not in the Bound state. You can filter data by keyword.
Information is displayed in the following dimensions: time, name, namespace, status.