Files
my-rook-config/deploy/examples/csi/nvmeof/storageclass.yaml
T
Niels de Vos 4dc19faa4b nvmeof: update the ceph-csi-operator example to deploy Ceph-CSI/NVMe-oF
There is no need to manually deploy Ceph-CSI/NVMe-oF anymore, the YAMLs
can be removed as the example operator.yaml includes the options now.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit 02ed13afa0)
2026-03-24 19:44:27 +00:00

34 lines
1.3 KiB
YAML

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: ceph-nvmeof
parameters:
clusterID: rook-ceph
pool: nvmeof
subsystemNQN: nqn.2016-06.io.spdk:cnode1.rook-ceph
# Management API - talks to gateway to create subsystems/namespaces
nvmeofGatewayAddress: "rook-ceph-nvmeof-nvmeof-a.rook-ceph.svc.cluster.local"
nvmeofGatewayPort: "5500"
# Data Plane - worker nodes connect here for actual I/O
# List ALL gateway pods for HA and multipath
listeners: |
[
{
"hostname": "rook-ceph-nvmeof-nvmeof-a"
}
]
csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/provisioner-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
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-expand-secret-name: rook-csi-rbd-node
csi.storage.k8s.io/node-expand-secret-namespace: rook-ceph
imageFormat: "2"
imageFeatures: layering,deep-flatten,exclusive-lock,object-map,fast-diff
provisioner: rook-ceph.nvmeof.csi.ceph.com
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: true