update readme and deployment

Signed-off-by: Huamin Chen <hchen@redhat.com>
This commit is contained in:
Huamin Chen 2018-02-06 18:30:05 +00:00
parent f7f8e13909
commit 022a5a4db0
2 changed files with 13 additions and 1 deletions

View File

@ -53,8 +53,20 @@ csi-provisioner-0 1/1 Running 0 1m
### Create a CSI storage class
Replace Ceph mon and secrets in [examples/sc.yaml](examples/sc.yaml)
```bash
# kubectl create -f examples/sc.yaml
```
### Create a PVC
```bash
# kubectl create -f examples/pvc.yaml
```
### Create a Pod
```bash
# kubectl create -f examples/pod.yaml
```

View File

@ -2,7 +2,7 @@ apiVersion: storage.k8s.io/v1beta1
kind: StorageClass
metadata:
name: rbd-csi-provisioner
provisioner: csi-rbd
provisioner: rbdplugin
parameters:
monitors: 172.24.0.6:6789
pool: rbd