File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,9 @@ make container
123123
124124
125125## Volume Snapshots
126+
127+ ** NOTE:** To create volume snapshots in KVM, make sure to set the ` kvm.snapshot.enabled ` global setting to true and restart the Management Server
128+
126129For Volume snapshots to be created, the following configurations need to be applied:
127130
128131```
@@ -167,6 +170,14 @@ spec:
167170 claimName: pvc-from-snapshot
168171```
169172
173+
174+ To delete a volume snapshot
175+ One can simlpy delete the volume snapshot created in kubernetes using
176+
177+ ```
178+ kubectl delete volumesnapshot snapshot-1 # here, snapshot-1 is the name of the snapshot created
179+ ```
180+
170181### What happens when you restore a volume from a snapshot
171182* The CSI external-provisioner (a container in the cloudstack-csi-controller pod) sees the new PVC and notices it references a snapshot
172183* The CSI driver's ` CreateVolume ` method is called with a ` VolumeContentSource ` that contains the snapshot ID
You can’t perform that action at this time.
0 commit comments