mirror of https://git.rancher.io/charts
Package: release Longhorn 1.5.1 into dev-v2.8
Signed-off-by: Phan Le <phan.le@suse.com>pull/3074/head
parent
3ae46e4cec
commit
eeeceb0426
|
@ -1,5 +1,5 @@
|
||||||
url: https://github.com/longhorn/charts.git
|
url: https://github.com/longhorn/charts.git
|
||||||
subdirectory: charts/longhorn
|
subdirectory: charts/longhorn
|
||||||
commit: 3b57266ab050578a858b53b53c355eb3110e12c2
|
commit: 3b57266ab050578a858b53b53c355eb3110e12c2
|
||||||
version: 103.0.0
|
version: 103.2.0
|
||||||
doNotRelease: true
|
doNotRelease: false
|
|
@ -9,29 +9,25 @@
|
||||||
-```
|
-```
|
||||||
-helm repo add longhorn https://charts.longhorn.io
|
-helm repo add longhorn https://charts.longhorn.io
|
||||||
-```
|
-```
|
||||||
+## Uninstallation
|
-
|
||||||
|
|
||||||
-2. Update local Longhorn chart information from chart repository.
|
-2. Update local Longhorn chart information from chart repository.
|
||||||
-```
|
-```
|
||||||
-helm repo update
|
-helm repo update
|
||||||
-```
|
-```
|
||||||
+To prevent Longhorn from being accidentally uninstalled (which leads to data lost), we introduce a new setting, deleting-confirmation-flag. If this flag is **false**, the Longhorn uninstallation job will fail. Set this flag to **true** to allow Longhorn uninstallation. You can set this flag using setting page in Longhorn UI or `kubectl -n longhorn-system patch -p '{"value": "true"}' --type=merge lhs deleting-confirmation-flag`
|
-
|
||||||
|
|
||||||
-3. Install Longhorn chart.
|
-3. Install Longhorn chart.
|
||||||
-- With Helm 2, the following command will create the `longhorn-system` namespace and install the Longhorn chart together.
|
-- 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
|
-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.
|
-- With Helm 3, the following commands will create the `longhorn-system` namespace first, then install the Longhorn chart.
|
||||||
+To prevent damage to the Kubernetes cluster, we recommend deleting all Kubernetes workloads using Longhorn volumes (PersistentVolume, PersistentVolumeClaim, StorageClass, Deployment, StatefulSet, DaemonSet, etc).
|
-
|
||||||
|
|
||||||
-```
|
-```
|
||||||
-kubectl create namespace longhorn-system
|
-kubectl create namespace longhorn-system
|
||||||
-helm install longhorn longhorn/longhorn --namespace longhorn-system
|
-helm install longhorn longhorn/longhorn --namespace longhorn-system
|
||||||
-```
|
-```
|
||||||
+From Rancher Cluster Explorer UI, navigate to Apps page, delete app `longhorn` then app `longhorn-crd` in Installed Apps tab.
|
-
|
||||||
|
## Uninstallation
|
||||||
-## Uninstallation
|
|
||||||
|
|
||||||
-With Helm 2 to uninstall Longhorn.
|
-With Helm 2 to uninstall Longhorn.
|
||||||
-```
|
-```
|
||||||
|
@ -45,6 +41,12 @@
|
||||||
-helm uninstall longhorn -n longhorn-system
|
-helm uninstall longhorn -n longhorn-system
|
||||||
-kubectl delete namespace longhorn-system
|
-kubectl delete namespace longhorn-system
|
||||||
-```
|
-```
|
||||||
-
|
+To prevent Longhorn from being accidentally uninstalled (which leads to data lost), we introduce a new setting, deleting-confirmation-flag. If this flag is **false**, the Longhorn uninstallation job will fail. Set this flag to **true** to allow Longhorn uninstallation. You can set this flag using setting page in Longhorn UI or `kubectl -n longhorn-system patch -p '{"value": "true"}' --type=merge lhs deleting-confirmation-flag`
|
||||||
|
+
|
||||||
|
+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.
|
Please see [link](https://github.com/longhorn/longhorn) for more information.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
url: https://github.com/longhorn/charts.git
|
url: https://github.com/longhorn/charts.git
|
||||||
subdirectory: charts/longhorn
|
subdirectory: charts/longhorn
|
||||||
commit: 3b57266ab050578a858b53b53c355eb3110e12c2
|
commit: 3b57266ab050578a858b53b53c355eb3110e12c2
|
||||||
version: 103.0.0
|
version: 103.2.0
|
||||||
doNotRelease: true
|
doNotRelease: false
|
Loading…
Reference in New Issue