Signed-off-by: Alaa Attya <alaa.attya91@gmail.com> (+6 squashed commits) Squashed commits: [fdea72a] fix typo Signed-off-by: Alaa Attya <alaa.saleh@deliveryhero.com> Signed-off-by: Alaa Attya <alaa.attya91@gmail.com> [2af80af] Update share-manager image to v1_20210914 This fixes the previously created RWX volumes that were marked as XFS but got created as EXT4 since we only supported EXT4 at the time. Longhorn #2991 Signed-off-by: Joshua Moody <joshua.moody@suse.com> Signed-off-by: Alaa Attya <alaa.attya91@gmail.com> [350d8cb] update questions.yaml Signed-off-by: Alaa Attya <alaa.attya91@gmail.com> [ed4846e] update questions.yaml Signed-off-by: Alaa Attya <alaa.attya91@gmail.com> [b8db363] updates Signed-off-by: Alaa Attya <alaa.attya91@gmail.com> [a3b8719] update labels Signed-off-by: Alaa Attya <alaa.attya91@gmail.com> update labels Signed-off-by: Alaa Attya <alaa.attya91@gmail.com> Revert "Update chart/values.yaml" This reverts commit 94cebff301ba24779daef0d83222350321814dd4. Revert "Revert "Update chart/values.yaml"" This reverts commit d0528ef7bf79d60b26bcd961438a0026e58eac01. updates Revert "updates" This reverts commit 0d47279b4edb2b170c831e462745079148bcd678. Revert "Revert "Revert "Update chart/values.yaml""" This reverts commit f64503db10b58f374c614471a573893af4594ca4. Revert "Revert "Update chart/values.yaml"" This reverts commit d0528ef7bf79d60b26bcd961438a0026e58eac01. Revert "Update chart/values.yaml" This reverts commit 94cebff301ba24779daef0d83222350321814dd4. Revert "Revert "Update chart/values.yaml"" This reverts commit 15bf7bebf08535d24ee8636ae6f8013b871ca0a8. updates updates |
||
---|---|---|
.. | ||
templates | ||
.helmignore | ||
app-readme.md | ||
Chart.yaml | ||
questions.yaml | ||
README.md | ||
values.yaml |
Longhorn Chart
Important
: Please install the Longhorn chart in the
longhorn-system
namespace only.
Warning
: Longhorn doesn't support downgrading from a higher version to a lower version.
Source Code
Longhorn is 100% open source software. Project source code is spread across a number of repos:
- Longhorn Engine -- Core controller/replica logic https://github.com/longhorn/longhorn-engine
- Longhorn Instance Manager -- Controller/replica instance lifecycle management https://github.com/longhorn/longhorn-instance-manager
- Longhorn Share Manager -- NFS provisioner that exposes Longhorn volumes as ReadWriteMany volumes. https://github.com/longhorn/longhorn-share-manager
- Backing Image Manager -- Backing image file lifecycle management. https://github.com/longhorn/backing-image-manager
- Longhorn Manager -- Longhorn orchestration, includes CSI driver for Kubernetes https://github.com/longhorn/longhorn-manager
- Longhorn UI -- Dashboard https://github.com/longhorn/longhorn-ui
Prerequisites
- A container runtime compatible with Kubernetes (Docker v1.13+, containerd v1.3.7+, etc.)
- Kubernetes v1.18+
- Make sure
bash
,curl
,findmnt
,grep
,awk
andblkid
has been installed in all nodes of the Kubernetes cluster. - Make sure
open-iscsi
has been installed, and theiscsid
daemon is running on all nodes of the Kubernetes cluster. For GKE, recommended Ubuntu as guest OS image since it containsopen-iscsi
already.
Installation
- Add Longhorn chart repository.
helm repo add longhorn https://charts.longhorn.io
- Update local Longhorn chart information from chart repository.
helm repo update
- 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
Please see link for more information.