Fix list in README

This commit is contained in:
Cyrill Troxler 2021-04-05 15:12:31 +02:00
parent 9eaf79c577
commit c4ff4b9c30

View file

@ -54,34 +54,34 @@ kubectl create -f examples/storageclass.yaml
1. Create a pvc using the new storage class: 1. Create a pvc using the new storage class:
```bash ```bash
kubectl create -f examples/pvc.yaml kubectl create -f examples/pvc.yaml
``` ```
1. Check if the PVC has been bound: 1. Check if the PVC has been bound:
```bash ```bash
$ kubectl get pvc csi-s3-pvc $ kubectl get pvc csi-s3-pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
csi-s3-pvc Bound pvc-c5d4634f-8507-11e8-9f33-0e243832354b 5Gi RWO csi-s3 9s csi-s3-pvc Bound pvc-c5d4634f-8507-11e8-9f33-0e243832354b 5Gi RWO csi-s3 9s
``` ```
1. Create a test pod which mounts your volume: 1. Create a test pod which mounts your volume:
```bash ```bash
kubectl create -f examples/pod.yaml kubectl create -f examples/pod.yaml
``` ```
If the pod can start, everything should be working. If the pod can start, everything should be working.
1. Test the mount 1. Test the mount
```bash ```bash
$ kubectl exec -ti csi-s3-test-nginx bash $ kubectl exec -ti csi-s3-test-nginx bash
$ mount | grep fuse $ mount | grep fuse
s3fs on /var/lib/www/html type fuse.s3fs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other) s3fs on /var/lib/www/html type fuse.s3fs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
$ touch /var/lib/www/html/hello_world $ touch /var/lib/www/html/hello_world
``` ```
If something does not work as expected, check the troubleshooting section below. If something does not work as expected, check the troubleshooting section below.