mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-15 02:40:23 +00:00
ba2e5cff51
Signed-off-by: ShyamsundarR <srangana@redhat.com>
24 lines
913 B
YAML
24 lines
913 B
YAML
---
|
|
apiVersion: snapshot.storage.k8s.io/v1alpha1
|
|
kind: VolumeSnapshotClass
|
|
metadata:
|
|
name: csi-rbdplugin-snapclass
|
|
snapshotter: rbd.csi.ceph.com
|
|
parameters:
|
|
pool: rbd
|
|
# Comma separated list of Ceph monitors
|
|
# if using FQDN, make sure csi plugin's dns policy is appropriate.
|
|
monitors: mon1:port,mon2:port,...
|
|
# OR,
|
|
# String representing a Ceph cluster to provision storage from.
|
|
# Should be unique across all Ceph clusters in use for provisioning,
|
|
# 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>
|
|
|
|
csi.storage.k8s.io/snapshotter-secret-name: csi-rbd-secret
|
|
csi.storage.k8s.io/snapshotter-secret-namespace: default
|