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:
|
|
|
|
pool: rbd
|
2019-03-02 17:29:52 +00:00
|
|
|
# Comma separated list of Ceph monitors
|
|
|
|
# if using FQDN, make sure csi plugin's dns policy is appropriate.
|
2019-01-25 19:10:20 +00:00
|
|
|
monitors: mon1:port,mon2:port,...
|
2019-03-02 17:29:52 +00:00
|
|
|
# OR,
|
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.
|
|
|
|
# If using clusterID, ensure to create a secret, as in
|
|
|
|
# template-ceph-cluster-ID-secret.yaml, to accompany the string chosen to
|
|
|
|
# represent the Ceph cluster in clusterID
|
|
|
|
# clusterID: <cluster-id>
|
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
|