2019-02-07 18:50:37 +00:00
|
|
|
# ceph-csi-rbd
|
|
|
|
|
|
|
|
The ceph-csi-rbd chart adds rbd volume support to your cluster.
|
|
|
|
|
|
|
|
## Install Chart
|
|
|
|
|
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-04-13 09:58:03 +00:00
|
|
|
## Delete Chart
|
|
|
|
|
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
|
|
|
|
```
|