infra4talos/apps-kustomized/rook-cluster/storageclass-ssd-fs.yaml

23 lines
812 B
YAML
Raw Normal View History

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
clusterID: ssd-cluster
fsName: ssd-cephfs
# Ceph pool into which the image shall be created
pool: replicapool-ssd
# 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-data
csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node
csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph-data
# Delete the rbd volume when a PVC is deleted
reclaimPolicy: Delete