Updated on 2025-01-24 GMT+08:00

Container Storage

To mount a PVC to a cluster, the cluster provider must support the StorageClass resource to dynamically create storage volumes. You can choose Storage on the cluster console and click the Storage Classes tab to view the storage classes supported by the cluster. For more information about StorageClass, see Storage Classes.

Creating a PVC

  1. Access the cluster console.
  2. In the navigation pane, choose Storage. On the displayed page, click the PVCs tab. Then click Create from YAML in the upper right corner.
  3. Write a YAML file for the PVC.
  4. Click OK.

Creating a PV

  1. Access the cluster console.
  2. In the navigation pane, choose Storage. On the displayed page, click the PVs tab. Then click Create from YAML in the upper right corner.
  3. Write a YAML file for the PV.
  4. Click OK.