From 72c77b754fb2d2f3e36d969fcae15387a19592c3 Mon Sep 17 00:00:00 2001 From: "shenmu.wy" Date: Wed, 6 Dec 2023 14:40:52 +0800 Subject: [PATCH] update documents --- doc/en/quick-start.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/en/quick-start.md b/doc/en/quick-start.md index 2b5f82a..f48eb17 100644 --- a/doc/en/quick-start.md +++ b/doc/en/quick-start.md @@ -206,11 +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. +~~The csi-node depends on `nvme` command-line tool to connect remote targets. Run following commands to install nvme client.~~ +`nvme` client is installed in CSI base image. If you want to override the `nvme` command in container, you could run the following commands. +CSI-node checks file `/home/admin/nvmeof/bin/nvme` at first priority, then looks for `nvme` in PATH. + ``` +# prepare your own nvme client and copy to /home/admin/nvmeof/bin/nvme sudo yum install -y nvme-cli - -# csi-node uses file /home/admin/nvmeof/bin/nvme sudo cp /usr/sbin/nvme /home/admin/nvmeof/bin/ ``` @@ -219,7 +221,7 @@ sudo cp /usr/sbin/nvme /home/admin/nvmeof/bin/ kubectl create -f hack/deploy/base/ # create nvmf_tgt daemonset and configmap -kubectl create -f hack/deploy/base/aio-lvs +kubectl create -f hack/deploy/aio-lvs ``` The disk-agent config will create a normal file `/local-storage/aio-lvs` of 1GiB and create an AIOBdev, which is used to create a LVS. @@ -265,7 +267,7 @@ status: #### Deploy Pod and PVC ``` -$ kubectl create -f pod.yaml +$ kubectl create -f hack/deploy/example/pod.yaml pod/test-pod created persistentvolumeclaim/pvc-obnvmf-test created