Skip to content

Commit

Permalink
update deploy yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
silentred committed Nov 29, 2023
1 parent 7cb1bff commit ebb490b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/en/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions hack/deploy/base/800-csi-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -153,3 +155,7 @@ spec:
hostPath:
path: /lib/modules
type: Directory
- name: nvme-config
hostPath:
path: /etc/nvme
type: DirectoryOrCreate

0 comments on commit ebb490b

Please sign in to comment.