update the committers for icn
[icn.git] / deploy / kud-plugin-addons / minio / yaml / ceph-volume / storageclass.yaml
1 apiVersion: ceph.rook.io/v1
2 kind: CephBlockPool
3 metadata:
4   name: rbd
5   namespace: rook-ceph
6 spec:
7   replicated:
8     size: 3
9 ---
10 apiVersion: storage.k8s.io/v1
11 kind: StorageClass
12 metadata:
13    name: csi-rbd
14 provisioner: rbd.csi.ceph.com
15 parameters:
16     # Comma separated list of Ceph monitors
17     # if using FQDN, make sure csi plugin's dns policy is appropriate.
18     monitors: 10.106.26.186:6789,10.108.31.63:6789,10.111.49.99:6789
19
20     # if "monitors" parameter is not set, driver to get monitors from same
21     # secret as admin/user credentials. "monValueFromSecret" provides the
22     # key in the secret whose value is the mons
23     #monValueFromSecret: "monitors"
24     
25     # Ceph pool into which the RBD image shall be created
26     pool: rbd
27
28     # RBD image format. Defaults to "2".
29     imageFormat: "2"
30
31     # RBD image features. Available for imageFormat: "2". CSI RBD currently supports only `layering` feature.
32     imageFeatures: layering
33     
34     # The secrets have to contain Ceph admin credentials.
35     csi.storage.k8s.io/provisioner-secret-name: csi-rbd-secret
36     csi.storage.k8s.io/provisioner-secret-namespace: default
37     csi.storage.k8s.io/node-publish-secret-name: csi-rbd-secret
38     csi.storage.k8s.io/node-publish-secret-namespace: default
39
40     # Ceph users for operating RBD
41     adminid: admin
42     userid: kube
43     # uncomment the following to use rbd-nbd as mounter on supported nodes
44     #mounter: rbd-nbd
45 reclaimPolicy: Delete