Merge pull request #15 from rootfs/rbd-refactoring

update readme and deployment
This commit is contained in:
Huamin Chen 2018-02-06 13:41:18 -05:00 committed by GitHub
commit 86acb9ccd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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