Skip to content

Commit

Permalink
fix: update direct csi docs to new repo (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana authored Jul 21, 2020
1 parent 04d8f76 commit b020e6c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docs/using-direct-csi.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@

```sh
cat << EOF > default.env
DIRECT_CSI_DRIVER_PATHS=/var/lib/direct-csi-driver/data{1...4}
DIRECT_CSI_DRIVER_COMMON_CONTAINER_ROOT=/var/lib/direct-csi-driver
DIRECT_CSI_DRIVER_COMMON_HOST_ROOT=/var/lib/direct-csi-driver
DIRECT_CSI_DRIVES=data{1...4}
DIRECT_CSI_DRIVES_DIR=/mnt
EOF

export $(cat default.env)
```

### Create the namespace for the driver
```
kubectl apply -k github.com/minio/direct-csi-driver
kubectl apply -k github.com/minio/direct-csi
```

### Utilize the CSI with MinIO operator
Expand All @@ -27,12 +26,12 @@ kubectl apply -k github.com/minio/direct-csi-driver
## lead to unbound PVCs and missing data
volumeClaimTemplate:
metadata:
name: direct-csi-driver-min-io-volume
name: data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Ti
storageClassName: direct.csi.driver.min.io # This field references the existing StorageClass
storageClassName: direct.csi.min.io # This field references the existing StorageClass
```

0 comments on commit b020e6c

Please sign in to comment.