From f9a7690bc5b3d5e96b0be93118ca470f63db2745 Mon Sep 17 00:00:00 2001 From: Joshua Moody Date: Tue, 22 Sep 2020 17:33:21 +0200 Subject: [PATCH] Add note about `VolumeSnapshotClass` to csi snapshot LEP Signed-off-by: Joshua Moody --- enhancements/20200904-csi-snapshot-support.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/enhancements/20200904-csi-snapshot-support.md b/enhancements/20200904-csi-snapshot-support.md index bd25d26..fbb74a1 100644 --- a/enhancements/20200904-csi-snapshot-support.md +++ b/enhancements/20200904-csi-snapshot-support.md @@ -250,6 +250,19 @@ We upgraded the csi-provsioner from 1.4 to 1.6, which still supports kubernetes ## Note +Since we cannot assume that the users distribution has csi snapshotter support, the user needs to create a +`VolumeSnapshotClass` to be able to use the csi snapshot support. + +Example longhorn `VolumeSnapshotClass` +```yaml +kind: VolumeSnapshotClass +apiVersion: snapshot.storage.k8s.io/v1beta1 +metadata: + name: longhorn +driver: driver.longhorn.io +deletionPolicy: Delete +``` + The CRDs and snapshot controller installations are the responsibility of the Kubernetes distribution. See: https://kubernetes.io/docs/concepts/storage/volume-snapshots/#introduction