All Products
Search
Document Center

Container Service for Kubernetes:Use storage-operator to monitor the storage resources of an ACK cluster

Last Updated:Dec 29, 2023

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

  1. Install storage-operator.

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

    2. On the Clusters page, click the name of the cluster that you want to manage and choose Operations > Add-ons in the left-side navigation pane.

    3. Click the Storage tab, find storage-operator, and then click Install.

  2. View monitoring data.

    1. In the left-side navigation pane of the details page, choose Operations > Prometheus Monitoring.

      If storage-operator is not installed, click Install to install the component.

    2. Click Storage Monitoring, and then click CSI - Cluster Dimension to go to the monitoring dashboards of the CSI plug-in.

      K8s csi cluster

      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.