From 022a5a4db0c8b7100e07148f45e0a28b1b9b8ccc Mon Sep 17 00:00:00 2001 From: Huamin Chen Date: Tue, 6 Feb 2018 18:30:05 +0000 Subject: [PATCH] update readme and deployment Signed-off-by: Huamin Chen --- README.md | 12 ++++++++++++ examples/sc.yaml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8f49b868f..8efe6d524 100644 --- a/README.md +++ b/README.md @@ -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 +``` diff --git a/examples/sc.yaml b/examples/sc.yaml index b5b6839b4..7a4b6ad7a 100644 --- a/examples/sc.yaml +++ b/examples/sc.yaml @@ -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