2019-01-26 00:40:20 +05:30
|
|
|
---
|
2021-03-12 15:02:56 +05:30
|
|
|
apiVersion: snapshot.storage.k8s.io/v1
|
2019-01-26 00:40:20 +05:30
|
|
|
kind: VolumeSnapshotClass
|
|
|
|
metadata:
|
|
|
|
name: csi-rbdplugin-snapclass
|
2020-04-16 12:01:33 +05:30
|
|
|
driver: rbd.csi.ceph.com
|
2019-01-26 00:40:20 +05:30
|
|
|
parameters:
|
2022-11-16 10:49:40 +05:30
|
|
|
# String representing a Ceph cluster to provision storage snapshot from.
|
2019-03-13 09:46:56 -04:00
|
|
|
# Should be unique across all Ceph clusters in use for provisioning,
|
2019-03-12 11:57:36 -04:00
|
|
|
# cannot be greater than 36 bytes in length, and should remain immutable for
|
|
|
|
# the lifetime of the StorageClass in use.
|
2020-06-10 11:53:03 +05:30
|
|
|
# Ensure to create an entry in the configmap named ceph-csi-config, based on
|
2019-04-22 17:35:39 -04:00
|
|
|
# csi-config-map-sample.yaml, to accompany the string chosen to
|
|
|
|
# represent the Ceph cluster in clusterID below
|
|
|
|
clusterID: <cluster-id>
|
|
|
|
|
2020-05-22 10:38:55 +05:30
|
|
|
# Prefix to use for naming RBD snapshots.
|
|
|
|
# If omitted, defaults to "csi-snap-".
|
|
|
|
# snapshotNamePrefix: "foo-bar-"
|
|
|
|
|
2019-01-26 00:40:20 +05:30
|
|
|
csi.storage.k8s.io/snapshotter-secret-name: csi-rbd-secret
|
|
|
|
csi.storage.k8s.io/snapshotter-secret-namespace: default
|
2020-04-16 12:01:33 +05:30
|
|
|
deletionPolicy: Delete
|