mirror of
https://github.com/kubernetes-csi/csi-driver-nvmf.git
synced 2026-05-15 10:32:02 +00:00
Co-authored-by: Jiri 'Ghormoon' Novak <novak.jiri@poda.cz> Co-authored-by: Meinhard Zhou <zhouenhua@bytedance.com> Signed-off-by: Meinhard Zhou <zhouenhua@bytedance.com>
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: csi-nvmf-pv-fs
|
|
spec:
|
|
storageClassName: csi-nvmf-sc-fs
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
capacity:
|
|
storage: 20Gi
|
|
csi:
|
|
driver: csi.nvmf.com
|
|
volumeHandle: nvmf-data-id
|
|
volumeAttributes:
|
|
targetTrAddr: "192.168.122.18"
|
|
targetTrPort: "49153"
|
|
targetTrType: "tcp"
|
|
nqn: "nqn.2022-08.org.test-nvmf.example"
|
|
# you can use any format of ID here, uuid., eui., whatever your storage pusts into ID_WWN or ID_SERIAL, as udev puts that in /dev/disk/by-id
|
|
deviceID: "uuid.58668891-c3e4-45d0-b90e-824525c16080"
|
|
#deviceID: "INTEL_SSDPF2KX038T9N_PHAB2261050P3P9EGN"
|
|
#deviceID: "Pure_Storage_FlashArray_AA00000000000AAA_42"
|
|
#
|
|
# for uuid, eui and nguid formats. there's an alias
|
|
#deviceUUID: "58668891-c3e4-45d0-b90e-824525c16080"
|
|
# is the same as
|
|
#deviceID: "uuid.58668891-c3e4-45d0-b90e-824525c16080"
|
|
#
|
|
# both EUI and NGUID will appear as eui.something
|
|
#deviceEUI: "00000000000000000042aa42aa42aa42"
|
|
# is the same as
|
|
#deviceID: "eui.00000000000000000042aa42aa42aa42"
|