2019-02-07 18:50:37 +00:00
|
|
|
# ceph-csi-rbd
|
|
|
|
|
|
|
|
The ceph-csi-rbd chart adds rbd volume support to your cluster.
|
|
|
|
|
2020-05-18 08:18:46 +00:00
|
|
|
## Install from release repo
|
|
|
|
|
|
|
|
Add chart repository to install helm charts from it
|
|
|
|
|
|
|
|
```console
|
|
|
|
helm repo add ceph-csi https://ceph.github.io/csi-charts
|
|
|
|
```
|
|
|
|
|
|
|
|
## Install from local Chart
|
|
|
|
|
|
|
|
we need to enter into the directory where all charts are present
|
|
|
|
|
|
|
|
```console
|
|
|
|
[$]cd charts
|
|
|
|
```
|
|
|
|
|
|
|
|
**Note:** charts directory is present in root of the ceph-csi project
|
|
|
|
|
|
|
|
### Install chart
|
2019-02-07 18:50:37 +00:00
|
|
|
|
2019-02-21 04:32:39 +00:00
|
|
|
To install the Chart into your Kubernetes cluster
|
2019-02-07 18:50:37 +00:00
|
|
|
|
2020-04-13 09:58:03 +00:00
|
|
|
- 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
|
|
|
|
```
|
2019-02-07 18:50:37 +00:00
|
|
|
|
|
|
|
After installation succeeds, you can get a status of Chart
|
|
|
|
|
|
|
|
```bash
|
|
|
|
helm status "ceph-csi-rbd"
|
|
|
|
```
|
|
|
|
|
2020-05-18 08:18:46 +00:00
|
|
|
### Delete Chart
|
2020-04-13 09:58:03 +00:00
|
|
|
|
2019-02-21 04:32:39 +00:00
|
|
|
If you want to delete your Chart, use this command
|
2019-02-07 18:50:37 +00:00
|
|
|
|
2020-04-13 09:58:03 +00:00
|
|
|
- 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"
|
|
|
|
```
|
2019-03-13 06:23:54 +00:00
|
|
|
|
|
|
|
If you want to delete the namespace, use this command
|
|
|
|
|
|
|
|
```bash
|
|
|
|
kubectl delete namespace ceph-csi-rbd
|
|
|
|
```
|