Collectd operator utilties
[demo.git] / vnfs / DAaaS / 00-init / rook-ceph / templates / storageclass.yml
1 apiVersion: ceph.rook.io/v1
2 kind: CephBlockPool
3 metadata:
4   name: replicapool
5   namespace: rook-ceph
6   annotations:
7     storageclass.kubernetes.io/is-default-class: "true"
8     "helm.sh/hook": post-install
9 spec:
10   failureDomain: host
11   replicated:
12     size: 1
13 ---
14 apiVersion: storage.k8s.io/v1
15 kind: StorageClass
16 metadata:
17   name: rook-ceph-block
18   annotations:
19     storageclass.kubernetes.io/is-default-class: "true"
20     "helm.sh/hook": post-install
21 provisioner: ceph.rook.io/block
22 parameters:
23   blockPool: replicapool
24   # The value of "clusterNamespace" MUST be the same as the one in which your rook cluster exist
25   clusterNamespace: rook-ceph
26   # Specify the filesystem type of the volume. If not specified, it will use `ext4`.
27   fstype: xfs
28 # Optional, default reclaimPolicy is "Delete". Other options are: "Retain", "Recycle" as documented in https://kubernetes.io/docs/concepts/storage/storage-classes/