Merge pull request #223 from YuikoTakada/add_example_usage
Add usage using hack/verify-examples.sh
This commit is contained in:
commit
6ab3d8f72c
@ -13,7 +13,7 @@ Please refer to [driver parameters](../../docs/driver-parameters.md) for more de
|
||||
|
||||
## Storage Class Usage (Dynamic Provisioning)
|
||||
|
||||
- Follow the folling command to create a `StorageClass`, and then `PersistentVolume` and `PersistentVolumeClaim` dynamically.
|
||||
- Follow the following command to create a `StorageClass`, and then `PersistentVolume` and `PersistentVolumeClaim` dynamically.
|
||||
|
||||
```bash
|
||||
# create StorageClass
|
||||
@ -25,7 +25,7 @@ kubectl create -f https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nf
|
||||
|
||||
## PV/PVC Usage (Static Provisioning)
|
||||
|
||||
- Follow the folling command to create `PersistentVolume` and `PersistentVolumeClaim` statically.
|
||||
- Follow the following command to create `PersistentVolume` and `PersistentVolumeClaim` statically.
|
||||
|
||||
```bash
|
||||
# create PV
|
||||
@ -34,3 +34,14 @@ kubectl create -f https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nf
|
||||
# create PVC
|
||||
kubectl create -f https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/deploy/example/pvc-nfs-csi-static.yaml
|
||||
```
|
||||
|
||||
## Deployment/Statefulset Usage
|
||||
|
||||
- Follow the following command to create `Deployment` and `Statefulset` .
|
||||
|
||||
```bash
|
||||
# create Deployment and Statefulset
|
||||
git clone https://github.com/kubernetes-csi/csi-driver-nfs.git
|
||||
cd csi-driver-nfs
|
||||
./hack/verify-examples.sh
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user