From 32a58f4e5854581b4cf25addcbead8ec95eff6ae Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Wed, 13 Sep 2023 13:09:43 +0200 Subject: [PATCH] doc: remove storageclass details for shallow volume As shallow volumes are default for ROX pvc from snapshot, removing the details from doc for better clarity. Signed-off-by: Madhu Rajanna --- docs/cephfs-snapshot-backed-volumes.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/cephfs-snapshot-backed-volumes.md b/docs/cephfs-snapshot-backed-volumes.md index 296a4b30c..ff6b78bb2 100644 --- a/docs/cephfs-snapshot-backed-volumes.md +++ b/docs/cephfs-snapshot-backed-volumes.md @@ -18,17 +18,18 @@ information. ### Provisioning a snapshot-backed volume from a volume snapshot For provisioning new snapshot-backed volumes, following configuration must be -set for storage class(es) and their PVCs respectively: +set for PVCs: -* StorageClass: - * Specify `backingSnapshot: "true"` parameter. * PersistentVolumeClaim: - * Set `storageClassName` to point to your storage class with backing - snapshots enabled. + * Set `storageClassName` to point to your existing cephFS storage class. * Define `spec.dataSource` for your desired source volume snapshot. * Set `spec.accessModes` to `ReadOnlyMany`. This is the only access mode that is supported by this feature. +Note:- We can also disable shallowVolume by setting `backingSnapshot: "false" +in cephFS storageclass. If the value is set in the storageclass when requested +for `ReadOnlyMany` PVC a clone will get created in ceph cluster. + ### Mounting snapshots from pre-provisioned volumes Steps for defining a PersistentVolume and PersistentVolumeClaim for