mirror of https://git.rancher.io/charts
63af4011e1
```bash
git fetch upstream
git checkout upstream/dev-v2.5-source -- packages; git reset HEAD; git checkout -- packages/README.md
```
(partially cherry picked from commit
|
||
---|---|---|
.. | ||
Chart.yaml.patch | ||
README.md.patch | ||
questions.yml.patch | ||
values.yaml.patch |
README.md.patch
--- charts-original/README.md +++ charts/README.md @@ -12,7 +12,7 @@ 2. Longhorn Instance Manager -- Controller/replica instance lifecycle management https://github.com/longhorn/longhorn-instance-manager 3. Longhorn Share Manager -- NFS provisioner that exposes Longhorn volumes as ReadWriteMany volumes. https://github.com/longhorn/longhorn-share-manager 4. Longhorn Manager -- Longhorn orchestration, includes CSI driver for Kubernetes https://github.com/longhorn/longhorn-manager -4. Longhorn UI -- Dashboard https://github.com/longhorn/longhorn-ui +5. Longhorn UI -- Dashboard https://github.com/longhorn/longhorn-ui ## Prerequisites @@ -21,41 +21,12 @@ 3. Make sure `curl`, `findmnt`, `grep`, `awk` and `blkid` has been installed in all nodes of the Kubernetes cluster. 4. Make sure `open-iscsi` has been installed, and the `iscsid` daemon is running on all nodes of the Kubernetes cluster. For GKE, recommended Ubuntu as guest OS image since it contains `open-iscsi` already. -## Installation -1. Add Longhorn chart repository. -``` -helm repo add longhorn https://charts.longhorn.io -``` - -2. Update local Longhorn chart information from chart repository. -``` -helm repo update -``` - -3. Install Longhorn chart. -- With Helm 2, the following command will create the `longhorn-system` namespace and install the Longhorn chart together. -``` -helm install longhorn/longhorn --name longhorn --namespace longhorn-system -``` -- With Helm 3, the following commands will create the `longhorn-system` namespace first, then install the Longhorn chart. - -``` -kubectl create namespace longhorn-system -helm install longhorn longhorn/longhorn --namespace longhorn-system -``` - ## Uninstallation -With Helm 2 to uninstall Longhorn. -``` -helm delete longhorn --purge -``` - -With Helm 3 to uninstall Longhorn. -``` -helm uninstall longhorn -n longhorn-system -kubectl delete namespace longhorn-system -``` +To prevent damage to the Kubernetes cluster, we recommend deleting all Kubernetes workloads using Longhorn volumes (PersistentVolume, PersistentVolumeClaim, StorageClass, Deployment, StatefulSet, DaemonSet, etc). + +From Rancher Cluster Explorer UI, navigate to Apps page, delete app `longhorn` then app `longhorn-crd` in Installed Apps tab. + --- Please see [link](https://github.com/longhorn/longhorn) for more information.