Files
my-rook-config/deploy/examples/csi/cephfs/storageclass.yaml
T

46 lines
2.1 KiB
YAML
Raw Normal View History

2019-01-24 12:38:07 -05:00
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
2020-01-31 11:43:10 +01:00
name: rook-cephfs
provisioner: rook-ceph.cephfs.csi.ceph.com # csi-provisioner-name
2019-01-24 12:38:07 -05:00
parameters:
# clusterID is the namespace where the rook cluster is running
# If you change this namespace, also change the namespace below where the secret namespaces are defined
clusterID: rook-ceph # namespace:cluster
2019-01-24 12:38:07 -05:00
2019-06-19 12:06:59 +05:30
# CephFS filesystem name into which the volume shall be created
fsName: myfs
2019-01-24 12:38:07 -05:00
# Ceph pool into which the volume shall be created
# Required for provisionVolume: "true"
pool: myfs-replicated
2019-01-24 12:38:07 -05:00
# The secrets contain Ceph admin credentials. These are generated automatically by the operator
# in the same namespace as the cluster.
2019-10-11 12:41:37 +02:00
csi.storage.k8s.io/provisioner-secret-name: rook-csi-cephfs-provisioner
csi.storage.k8s.io/provisioner-secret-namespace: rook-ceph # namespace:cluster
2020-01-21 13:34:23 +05:30
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-cephfs-provisioner
csi.storage.k8s.io/controller-expand-secret-namespace: rook-ceph # namespace:cluster
2025-08-13 09:15:40 +02:00
csi.storage.k8s.io/controller-publish-secret-name: rook-csi-cephfs-provisioner
csi.storage.k8s.io/controller-publish-secret-namespace: rook-ceph # namespace:cluster
2019-10-11 12:41:37 +02:00
csi.storage.k8s.io/node-stage-secret-name: rook-csi-cephfs-node
csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph # namespace:cluster
2019-01-24 12:38:07 -05:00
2024-05-15 10:11:15 +03:00
# (optional) Set it to true to encrypt each volume with encryption keys
# from a key management system (KMS)
# encrypted: "true"
# (optional) Use external key management system (KMS) for encryption key by
# specifying a unique ID matching a KMS ConfigMap. The ID is only used for
# correlation to configmap entry.
# encryptionKMSID: <kms-config-id>
2019-01-24 12:38:07 -05:00
# (optional) The driver can use either ceph-fuse (fuse) or ceph kernel client (kernel)
# If omitted, default volume mounter will be used - this is determined by probing for ceph-fuse
# or by setting the default mounter explicitly via --volumemounter command-line argument.
# mounter: kernel
reclaimPolicy: Delete
2020-01-21 13:34:23 +05:30
allowVolumeExpansion: true
2019-06-19 12:06:59 +05:30
mountOptions:
2019-08-01 16:31:50 -06:00
# uncomment the following line for debugging
#- debug