2019-02-21 04:30:21 +00:00
|
|
|
# ceph-csi-cephfs
|
|
|
|
|
|
|
|
The ceph-csi-cephfs chart adds cephfs volume support to your cluster.
|
|
|
|
|
|
|
|
## Install Chart
|
|
|
|
|
|
|
|
To install the Chart into your Kubernetes cluster
|
|
|
|
|
2020-04-13 09:58:03 +00:00
|
|
|
- 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
|
|
|
|
```
|
2019-02-21 04:30:21 +00:00
|
|
|
|
|
|
|
After installation succeeds, you can get a status of Chart
|
|
|
|
|
|
|
|
```bash
|
|
|
|
helm status "ceph-csi-cephfs"
|
|
|
|
```
|
|
|
|
|
2020-04-13 09:58:03 +00:00
|
|
|
## Delete Chart
|
|
|
|
|
2019-02-21 04:30:21 +00:00
|
|
|
If you want to delete your Chart, use this command
|
|
|
|
|
2020-04-13 09:58:03 +00:00
|
|
|
- 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"
|
|
|
|
```
|
2019-03-13 06:23:54 +00:00
|
|
|
|
|
|
|
If you want to delete the namespace, use this command
|
|
|
|
|
|
|
|
```bash
|
2019-09-26 09:55:12 +00:00
|
|
|
kubectl delete namespace ceph-csi-cephfs
|
2019-03-13 06:23:54 +00:00
|
|
|
```
|