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,22 +6,48 @@ The ceph-csi-cephfs chart adds cephfs volume support to your cluster.
To install the Chart into your Kubernetes cluster To install the Chart into your Kubernetes cluster
- For helm 2.x
```bash ```bash
helm install --namespace "ceph-csi-cephfs" --name "ceph-csi-cephfs" ceph-csi/ceph-csi-cephfs 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 After installation succeeds, you can get a status of Chart
```bash ```bash
helm status "ceph-csi-cephfs" helm status "ceph-csi-cephfs"
``` ```
## Delete Chart
If you want to delete your Chart, use this command If you want to delete your Chart, use this command
- For helm 2.x
```bash ```bash
helm delete --purge "ceph-csi-cephfs" 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 If you want to delete the namespace, use this command
```bash ```bash

View File

@ -6,22 +6,48 @@ The ceph-csi-rbd chart adds rbd volume support to your cluster.
To install the Chart into your Kubernetes cluster To install the Chart into your Kubernetes cluster
- For helm 2.x
```bash ```bash
helm install --namespace "ceph-csi-rbd" --name "ceph-csi-rbd" ceph-csi/ceph-csi-rbd 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 After installation succeeds, you can get a status of Chart
```bash ```bash
helm status "ceph-csi-rbd" helm status "ceph-csi-rbd"
``` ```
## Delete Chart
If you want to delete your Chart, use this command If you want to delete your Chart, use this command
- For helm 2.x
```bash ```bash
helm delete --purge "ceph-csi-rbd" 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 If you want to delete the namespace, use this command
```bash ```bash