2023-11-27 15:07:41 +00:00
|
|
|
apiVersion: storage.k8s.io/v1
|
|
|
|
kind: StorageClass
|
|
|
|
metadata:
|
|
|
|
name: rook-cephfs-ssd
|
|
|
|
# Change "rook-ceph" provisioner prefix to match the operator namespace if needed
|
|
|
|
provisioner: rook-ceph.cephfs.csi.ceph.com
|
|
|
|
parameters:
|
|
|
|
# clusterID is the namespace where the rook cluster is running
|
2023-11-28 16:56:04 +00:00
|
|
|
clusterID: rook-ceph
|
2023-11-27 21:12:18 +00:00
|
|
|
fsName: ssdfs
|
2023-11-27 15:07:41 +00:00
|
|
|
|
|
|
|
# Ceph pool into which the image shall be created
|
2023-11-28 16:56:04 +00:00
|
|
|
pool: ssdfs-replicated
|
2023-11-27 15:07:41 +00:00
|
|
|
|
|
|
|
# The secrets contain Ceph admin credentials.
|
2023-11-27 20:08:11 +00:00
|
|
|
csi.storage.k8s.io/provisioner-secret-name: rook-csi-cephfs-provisioner
|
|
|
|
csi.storage.k8s.io/provisioner-secret-namespace: rook-ceph
|
2023-11-27 21:12:18 +00:00
|
|
|
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-cephfs-provisioner
|
|
|
|
csi.storage.k8s.io/controller-expand-secret-namespace: rook-ceph
|
2023-11-27 20:08:11 +00:00
|
|
|
csi.storage.k8s.io/node-stage-secret-name: rook-csi-cephfs-node
|
|
|
|
csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph
|
2023-11-27 15:07:41 +00:00
|
|
|
|
|
|
|
# Delete the rbd volume when a PVC is deleted
|
|
|
|
reclaimPolicy: Delete
|