This section describes how to enable and disable volume operations.

You can configure whether to allow users to perform clone and expansion operations on PersistentVolumeClaims created by a specific storage class in the KubeSphere web console.

Note

The steps described in this section only control whether users are allowed to use the related operations in the KubeSphere web console. Whether a PersistentVolumeClaim actually supports these operations depends on the backend storage system.

Prerequisites

  • You need to join a cluster and have the Storage Class Management permission in the cluster. For more information, see Cluster Members and Cluster Roles.

  • To enable a feature, ensure that the backend storage system actually supports it.

Steps

  1. Log in to the KubeSphere web console with a user who has Storage Class Management permissions and enter your cluster.

  2. Click Storage > Storage Classes in the left navigation pane.

  3. In the storage class list, click the name of a storage class to open its details page.

  4. On the storage class details page, click Operations > Set Volume Operations.

  5. In the Set Volume Operations dialog box, enable or disable the volume clone and volume expansion operations, then click OK.

    Feature Description

    Volume Clone

    Whether to allow users to clone persistent volume claims in the KubeSphere web console.

    Volume Expansion

    Whether to allow users to expand the storage capacity of persistent volume claims in the KubeSphere web console.