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,
|
|
|
|
# Ceph cluster fsid, of the cluster to provision storage from
|
|
|
|
# clusterID: <ceph-fsid>
|
|
|
|
|
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
|