From da056a5ef60e1e76b0ec3fa3a9d45ecb886e58f3 Mon Sep 17 00:00:00 2001 From: Prasanna Kumar Kalever Date: Tue, 13 Oct 2020 14:29:14 +0530 Subject: [PATCH] doc: add install-snapshot.sh usage in snapshot documentation Signed-off-by: Prasanna Kumar Kalever --- docs/cephfs-snap-clone.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/cephfs-snap-clone.md b/docs/cephfs-snap-clone.md index 848b43da4..4bbf62c35 100644 --- a/docs/cephfs-snap-clone.md +++ b/docs/cephfs-snap-clone.md @@ -19,6 +19,25 @@ be a `volumesnapshotclass` object present in the cluster for snapshot request to be satisified. + - To install snapshot controller and CRD + + ```console + $./scripts/install-snapshot.sh install + ``` + + To install from specific external-snapshotter version, you can leverage + `SNAPSHOT_VERSION` variable, for example: + + ```console + $SNAPSHOT_VERSION="v3.0.1" ./scripts/install-snapshot.sh install + ``` + + - In the future, you can choose to cleanup by running + + ```console + $./scripts/install-snapshot.sh cleanup + ``` + **NOTE: At present, there is a limit of 400 snapshots per cephFS filesystem. Also PVC cannot be deleted if it's having snapshots. Make sure all the snapshots on the PVC are deleted before you delete the PVC.**