2019-01-25 19:10:20 +00:00
|
|
|
---
|
|
|
|
apiVersion: snapshot.storage.k8s.io/v1alpha1
|
|
|
|
kind: VolumeSnapshotClass
|
|
|
|
metadata:
|
|
|
|
name: csi-rbdplugin-snapclass
|
2019-03-13 05:09:58 +00:00
|
|
|
snapshotter: rbd.csi.ceph.com
|
2019-01-25 19:10:20 +00:00
|
|
|
parameters:
|
2019-03-12 15:57:36 +00:00
|
|
|
# String representing a Ceph cluster to provision storage from.
|
2019-03-13 13:46:56 +00:00
|
|
|
# Should be unique across all Ceph clusters in use for provisioning,
|
2019-03-12 15:57:36 +00:00
|
|
|
# cannot be greater than 36 bytes in length, and should remain immutable for
|
|
|
|
# the lifetime of the StorageClass in use.
|
2019-04-22 21:35:39 +00:00
|
|
|
# Ensure to create an entry in the config map named ceph-csi-config, based on
|
|
|
|
# csi-config-map-sample.yaml, to accompany the string chosen to
|
|
|
|
# represent the Ceph cluster in clusterID below
|
|
|
|
clusterID: <cluster-id>
|
|
|
|
|
|
|
|
pool: rbd
|
2019-03-02 17:29:52 +00:00
|
|
|
|
2019-01-25 19:10:20 +00:00
|
|
|
csi.storage.k8s.io/snapshotter-secret-name: csi-rbd-secret
|
|
|
|
csi.storage.k8s.io/snapshotter-secret-namespace: default
|