mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +00:00
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 <madhupr007@gmail.com>
This commit is contained in:
parent
4560ae83a9
commit
32a58f4e58
@ -18,17 +18,18 @@ information.
|
|||||||
### Provisioning a snapshot-backed volume from a volume snapshot
|
### Provisioning a snapshot-backed volume from a volume snapshot
|
||||||
|
|
||||||
For provisioning new snapshot-backed volumes, following configuration must be
|
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:
|
* PersistentVolumeClaim:
|
||||||
* Set `storageClassName` to point to your storage class with backing
|
* Set `storageClassName` to point to your existing cephFS storage class.
|
||||||
snapshots enabled.
|
|
||||||
* Define `spec.dataSource` for your desired source volume snapshot.
|
* Define `spec.dataSource` for your desired source volume snapshot.
|
||||||
* Set `spec.accessModes` to `ReadOnlyMany`. This is the only access mode that
|
* Set `spec.accessModes` to `ReadOnlyMany`. This is the only access mode that
|
||||||
is supported by this feature.
|
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
|
### Mounting snapshots from pre-provisioned volumes
|
||||||
|
|
||||||
Steps for defining a PersistentVolume and PersistentVolumeClaim for
|
Steps for defining a PersistentVolume and PersistentVolumeClaim for
|
||||||
|
Loading…
Reference in New Issue
Block a user