| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 | apiVersion: ceph.rook.io/v1kind: CephBlockPoolmetadata:  name: replicapool  namespace: alephtwo-nsspec:  failureDomain: host  replicated:    size: 2---apiVersion: storage.k8s.io/v1kind: StorageClassmetadata:   name: rook-ceph-block# Change "rook-ceph" provisioner prefix to match the operator namespace if neededprovisioner: rook-ceph.rbd.csi.ceph.comparameters:    # clusterID is the namespace where the rook cluster is running    clusterID: alephtwo-ns    # Ceph pool into which the RBD image shall be created    pool: ceph-blockpool    # (optional) mapOptions is a comma-separated list of map options.    # For krbd options refer    # https://docs.ceph.com/docs/master/man/8/rbd/#kernel-rbd-krbd-options    # For nbd options refer    # https://docs.ceph.com/docs/master/man/8/rbd-nbd/#options    # mapOptions: lock_on_read,queue_depth=1024    # (optional) unmapOptions is a comma-separated list of unmap options.    # For krbd options refer    # https://docs.ceph.com/docs/master/man/8/rbd/#kernel-rbd-krbd-options    # For nbd options refer    # https://docs.ceph.com/docs/master/man/8/rbd-nbd/#options    # unmapOptions: force    # RBD image format. Defaults to "2".    imageFormat: "2"    # RBD image features    # Available for imageFormat: "2". Older releases of CSI RBD    # support only the `layering` feature. The Linux kernel (KRBD) supports the    # full complement of features as of 5.4    # `layering` alone corresponds to Ceph's bitfield value of "2" ;    # `layering` + `fast-diff` + `object-map` + `deep-flatten` + `exclusive-lock` together    # correspond to Ceph's OR'd bitfield value of "63". Here we use    # a symbolic, comma-separated format:    # For 5.4 or later kernels:    #imageFeatures: layering,fast-diff,object-map,deep-flatten,exclusive-lock    # For 5.3 or earlier kernels:    imageFeatures: layering    # The secrets contain Ceph admin credentials.    csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner    csi.storage.k8s.io/provisioner-secret-namespace: rook-ceph    csi.storage.k8s.io/controller-expand-secret-name: rook-csi-rbd-provisioner    csi.storage.k8s.io/controller-expand-secret-namespace: rook-ceph    csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node    csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph    # Specify the filesystem type of the volume. If not specified, csi-provisioner    # will set default as `ext4`. Note that `xfs` is not recommended due to potential deadlock    # in hyperconverged settings where the volume is mounted on the same node as the osds.    csi.storage.k8s.io/fstype: ext4# Delete the rbd volume when a PVC is deletedreclaimPolicy: Delete# Optional, if you want to add dynamic resize for PVC.# For now only ext3, ext4, xfs resize support provided, like in Kubernetes itself.allowVolumeExpansion: true
 |