Persistent Volume

Describes persistent volume information and provides optimization suggestions.

This section describes persistent volume information and provides optimization suggestions.

View Persistent Volumes

Click the Persistent Volume menu on the left sidebar to display the Persistent Volume page, as shown below.

Persistent Volume page
Wiseinf Inc.

The Persistent Volume page is divided into three sections:

  1. Cluster Selection Area: Choose the relevant cluster.
  2. Query Area: Filter the list based on name, PVC namespace, PVC name, and policy name.
  3. List Area: Displays information such as PV, PVC, policy name, usage, latest update time, and available actions.

After selecting a cluster, the Persistent Volume page will look like this:

Persistent Volume page-select cluster
Wiseinf Inc.

The list area is divided into five columns:

  1. PV: Displays the PV name, region, capacity, and creation time.
  2. Owner: Displays the department, group, and specific personnel responsible for the PV.
  3. PVC: Displays the PVC namespace and name.
  4. Usage: Shows the name of the optimization strategy, usage data provided by the strategy, and the last update time. Currently, the platform supports two optimization strategies: Unused PV and Underutilized PV. For the Unused PV strategy, this column will be empty.
  5. Action: Lists the available actions for the Persistent Volume.

Delete Persistent Volume

Select the row where the strategy name column is Unused PV, and click the Delete link in the action column of that row. This will open the Delete Persistent Volume dialog box, displaying the details of the Persistent Volume and recommended actions.

In the community version, it appears as shown below:

Delete Persistent Volume Dialog
Wiseinf Inc.

In the commercial version, it appears as shown below:

Delete Persistent Volume Dialog
Wiseinf Inc.

Click the OK button in the dialog box to create a task that will delete the persistent volume.

Adjust Persistent Volume Size

Select Underutilized PV as the strategy name in the Query Area. The system will then display only the list items that match the Underutilized PV strategy, as shown below:

Filter list items by `Underutilized PV` policy name
Wiseinf Inc.

Click the Adjust link in the list’s Action column to open the Adjust Persistent Volume Size dialog box. This dialog box displays detailed information about the Persistent Volume and the recommended adjustment plan.

In the community version, it appears as shown below:

Resize Persistent Volume
Wiseinf Inc.

In the commercial version, you can set parameters and automatically adjust the volume using background tasks, as shown below:

Adjust the Persistent Volume dialog box: Set parameters
Wiseinf Inc.

After setting the target capacity, whether to keep the original PVC name, and whether to delete the original PV, click OK to quickly adjust the persistent volume size.

Click the Adjust link in the Action column again to view the execution log of the persistent volume size adjustment, as shown below:

Adjust Persistent Volume dialog box: View task log
Wiseinf Inc.

Adjusting the PV will use the cluster access account provided by the user to manage the PV in the cluster. To set up a cluster access account, refer to Setting up a cluster access account.

Note: If you choose not to delete the original persistent volume, you will need to delete it manually, or you will continue to incur costs for the persistent volume.