From f591759fd697541b3ef62b732f86025ca3e10bf3 Mon Sep 17 00:00:00 2001 From: Travis Glenn Hansen Date: Sat, 25 Feb 2023 10:33:56 -0700 Subject: [PATCH] nvmeof doc Signed-off-by: Travis Glenn Hansen --- README.md | 3 ++- examples/node-manual-nvmeof-pv.yaml | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 examples/node-manual-nvmeof-pv.yaml diff --git a/README.md b/README.md index d8604a5..8f9e0ae 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,8 @@ have access to resizing, snapshots, clones, etc functionality. for all volumes) - `local-hostpath` (crudely provisions node-local directories) - `node-manual` (allows connecting to manually created smb, nfs, lustre, - oneclient, and iscsi volumes, see sample PVs in the `examples` directory) + oneclient, nvmeof, and iscsi volumes, see sample PVs in the `examples` + directory) - framework for developing `csi` drivers If you have any interest in providing a `csi` driver, simply open an issue to diff --git a/examples/node-manual-nvmeof-pv.yaml b/examples/node-manual-nvmeof-pv.yaml new file mode 100644 index 0000000..5d2abf2 --- /dev/null +++ b/examples/node-manual-nvmeof-pv.yaml @@ -0,0 +1,26 @@ +--- +apiVersion: v1 +kind: PersistentVolume +metadata: + name: nvmeof-manual +spec: + capacity: + storage: 1Gi + accessModes: + - ReadWriteOnce + persistentVolumeReclaimPolicy: Retain + mountOptions: [] + csi: + driver: org.democratic-csi.node-manual + readOnly: false + # can be ext4 or xfs + fsType: ext4 + volumeHandle: unique-volumeid # make sure it's a unique id in the cluster + volumeAttributes: + # rdma and fc are also available + transport: tcp://, + #transports: ,,... + nqn: + nsid: + node_attach_driver: "nvmeof" + provisioner_driver: node-manual