diff --git a/doc/en/quick-start.md b/doc/en/quick-start.md index c5dd6ae..2b5f82a 100644 --- a/doc/en/quick-start.md +++ b/doc/en/quick-start.md @@ -151,6 +151,7 @@ The above config will create file /data/pv01 is it does not exist, create a loop #### Deploy Pod and PVC ``` +# pod.yaml is under hack/deploy/example directory kubectl create -f pod.yaml pod/test-pod created persistentvolumeclaim/pvc-obnvmf-test created @@ -205,6 +206,13 @@ No resources found ### Data Engine: SPDK LVS +The csi-node depends on `nvme` command-line tool to connect remote targets. Run following commands to install nvme client. +``` +sudo yum install -y nvme-cli + +# csi-node uses file /home/admin/nvmeof/bin/nvme +sudo cp /usr/sbin/nvme /home/admin/nvmeof/bin/ +``` ``` # create components diff --git a/hack/deploy/base/800-csi-node.yaml b/hack/deploy/base/800-csi-node.yaml index a0794a6..f415777 100644 --- a/hack/deploy/base/800-csi-node.yaml +++ b/hack/deploy/base/800-csi-node.yaml @@ -52,6 +52,8 @@ spec: - name: CSI_ENDPOINT value: unix:///plugin/csi.sock volumeMounts: + - name: nvme-config + mountPath: /etc/nvme - name: nvme-cli-dir mountPath: /home/admin/nvmeof/bin - name: plugin-dir @@ -153,3 +155,7 @@ spec: hostPath: path: /lib/modules type: Directory + - name: nvme-config + hostPath: + path: /etc/nvme + type: DirectoryOrCreate