update the helm documentation for cephfs and rbd

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2020-04-13 15:28:03 +05:30 committed by mergify[bot]
parent 10eec1f39c
commit 6b3e6e67e4
2 changed files with 64 additions and 12 deletions

View File

@ -6,9 +6,25 @@ The ceph-csi-cephfs chart adds cephfs volume support to your cluster.
To install the Chart into your Kubernetes cluster
```bash
helm install --namespace "ceph-csi-cephfs" --name "ceph-csi-cephfs" ceph-csi/ceph-csi-cephfs
```
- For helm 2.x
```bash
helm install --namespace "ceph-csi-cephfs" --name "ceph-csi-cephfs" ceph-csi/ceph-csi-cephfs
```
- For helm 3.x
Create the namespace where Helm should install the components with
```bash
create namespace ceph-csi-cephfs
```
Run the installation
```bash
helm install --namespace "ceph-csi-cephfs" "ceph-csi-cephfs" ceph-csi/ceph-csi-cephfs
```
After installation succeeds, you can get a status of Chart
@ -16,11 +32,21 @@ After installation succeeds, you can get a status of Chart
helm status "ceph-csi-cephfs"
```
## Delete Chart
If you want to delete your Chart, use this command
```bash
helm delete --purge "ceph-csi-cephfs"
```
- For helm 2.x
```bash
helm delete --purge "ceph-csi-cephfs"
```
- For helm 3.x
```bash
helm uninstall "ceph-csi-cephfs" --namespace "ceph-csi-cephfs"
```
If you want to delete the namespace, use this command

View File

@ -6,9 +6,25 @@ The ceph-csi-rbd chart adds rbd volume support to your cluster.
To install the Chart into your Kubernetes cluster
```bash
helm install --namespace "ceph-csi-rbd" --name "ceph-csi-rbd" ceph-csi/ceph-csi-rbd
```
- For helm 2.x
```bash
helm install --namespace "ceph-csi-rbd" --name "ceph-csi-rbd" ceph-csi/ceph-csi-rbd
```
- For helm 3.x
Create the namespace where Helm should install the components with
```bash
kubectl create namespace "ceph-csi-rbd"
```
Run the installation
```bash
helm install --namespace "ceph-csi-rbd" "ceph-csi-rbd" ceph-csi/ceph-csi-rbd
```
After installation succeeds, you can get a status of Chart
@ -16,11 +32,21 @@ After installation succeeds, you can get a status of Chart
helm status "ceph-csi-rbd"
```
## Delete Chart
If you want to delete your Chart, use this command
```bash
helm delete --purge "ceph-csi-rbd"
```
- For helm 2.x
```bash
helm delete --purge "ceph-csi-rbd"
```
- For helm 3.x
```bash
helm uninstall "ceph-csi-rbd" --namespace "ceph-csi-rbd"
```
If you want to delete the namespace, use this command