mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
update the helm documentation for cephfs and rbd
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
10eec1f39c
commit
6b3e6e67e4
@ -6,9 +6,25 @@ 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
|
||||||
|
|
||||||
```bash
|
- For helm 2.x
|
||||||
helm install --namespace "ceph-csi-cephfs" --name "ceph-csi-cephfs" ceph-csi/ceph-csi-cephfs
|
|
||||||
```
|
```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
|
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"
|
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
|
||||||
|
|
||||||
```bash
|
- For helm 2.x
|
||||||
helm delete --purge "ceph-csi-cephfs"
|
|
||||||
```
|
```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
|
If you want to delete the namespace, use this command
|
||||||
|
|
||||||
|
@ -6,9 +6,25 @@ 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
|
||||||
|
|
||||||
```bash
|
- For helm 2.x
|
||||||
helm install --namespace "ceph-csi-rbd" --name "ceph-csi-rbd" ceph-csi/ceph-csi-rbd
|
|
||||||
```
|
```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
|
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"
|
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
|
||||||
|
|
||||||
```bash
|
- For helm 2.x
|
||||||
helm delete --purge "ceph-csi-rbd"
|
|
||||||
```
|
```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
|
If you want to delete the namespace, use this command
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user