Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update direct csi docs to new repo #180

Merged
merged 1 commit into from
Jul 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
```