Create Volume Snapshot Classes
This section describes how to create a volume snapshot class.
Prerequisites
KubeSphere Storage should have been installed and enabled.
You should join a cluster and have the Volume Snapshot Classes Management permission within the cluster. For more information, refer to "Cluster Members" and "Cluster Roles".
To ensure that the volume snapshot class can provide storage resources normally, you need to configure the storage system in advance and install the storage plugin corresponding to the storage system. For more information, contact your storage system provider.
Steps
Log in to the KubeSphere web console with a user who has the Volume Snapshot Classes Management permission, and access your cluster.
Click Storage > Volume Snapshot Classes in the left navigation pane.
Click Create on the page.
On the Basic Information tab, set the basic information for the volume snapshot class, then click Next.
Parameter Description Name
The name of the volume snapshot class. The name can only contain lowercase letters, numbers, and hyphens (-), must start and end with a lowercase letter or number, and can be up to 63 characters long.
Storage Type
Block storage, object storage, or file storage.
Alias
The alias of the volume snapshot class. Different volume snapshot classes can have the same alias. The alias can only contain Chinese characters, letters, numbers, and hyphens (-), must not start or end with a hyphen (-), and can be up to 63 characters long.
Description
The description of the volume snapshot class. The description can contain any characters and can be up to 256 characters long.
On the Volume Snapshot Class Settings tab, set the Provisioner and deletion policy for the volume snapshot class, then click Create.
Parameter Description Provisioner
The storage plugin used by the volume snapshot class.
Deletion Policy
The policy for handling the volume snapshot content when the volume snapshot is deleted. The deletion policy is set in the corresponding volume snapshot class.
Delete: The volume snapshot content is automatically deleted by the system after the volume snapshot is deleted.
Retain: The volume snapshot content is not deleted by the system after the volume snapshot is deleted.
After the volume snapshot class is created, it will be displayed in the volume snapshot class list.
Feedback
Was this page Helpful?
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.