mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
Merge pull request #15 from rootfs/rbd-refactoring
update readme and deployment
This commit is contained in:
commit
86acb9ccd9
12
README.md
12
README.md
@ -53,8 +53,20 @@ csi-provisioner-0 1/1 Running 0 1m
|
|||||||
|
|
||||||
### Create a CSI storage class
|
### 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
|
### Create a PVC
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# kubectl create -f examples/pvc.yaml
|
||||||
|
```
|
||||||
|
|
||||||
### Create a Pod
|
### Create a Pod
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# kubectl create -f examples/pod.yaml
|
||||||
|
```
|
||||||
|
@ -2,7 +2,7 @@ apiVersion: storage.k8s.io/v1beta1
|
|||||||
kind: StorageClass
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: rbd-csi-provisioner
|
name: rbd-csi-provisioner
|
||||||
provisioner: csi-rbd
|
provisioner: rbdplugin
|
||||||
parameters:
|
parameters:
|
||||||
monitors: 172.24.0.6:6789
|
monitors: 172.24.0.6:6789
|
||||||
pool: rbd
|
pool: rbd
|
||||||
|
Loading…
Reference in New Issue
Block a user