< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Clone Persistent Volumes

This section explains how to clone a Persistent Volume.

After creating a Persistent Volume Claim and Persistent Volume, you can create identical copies by cloning them.

Prerequisites

  • You should join a cluster and have the Persistent Volume Claim Management permission within the cluster. For more information, refer to "Cluster Members" and "Cluster Roles".

  • Ensure that the system has created a Persistent Volume for the Persistent Volume Claim.

  • Ensure that the backend storage system supports volume cloning, and the storage class corresponding to the Persistent Volume Claim has enabled volume cloning. For more information, please refer to Enable and Disable Volume Operations.

Steps

  1. Log in to the KubeSphere web console with a user who has the Persistent Volume Claim Management permission, and access your cluster.

  2. Click Storage > Persistent Volume Claims in the left navigation pane.

  3. Click the name of a Persistent Volume Claim in the list to open its details page.

  4. In the top-left corner of the details page, select More > Clone.

  5. In the Clone Volume dialog, set the name for the new Persistent Volume Claim, and then click OK.

    The system will create identical copies for the Persistent Volume Claim and the corresponding Persistent Volume.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page