|
||
---|---|---|
.. | ||
templates | ||
.helmignore | ||
app-readme.md | ||
Chart.yaml | ||
questions.yml | ||
README.md | ||
values.yaml |
Longhorn Chart
Important
: Please install Longhorn chart in
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 Manager -- Longhorn orchestration, includes CSI driver for Kubernetes https://github.com/longhorn/longhorn-manager
- Longhorn UI -- Dashboard https://github.com/longhorn/longhorn-ui
Prerequisites
- Docker v1.13+
- Kubernetes v1.15+
- Make sure
curl
,findmnt
,grep
,awk
andblkid
has been installed in all nodes of the Kubernetes cluster. - Make sure
open-iscsi
has been installed in all nodes of the Kubernetes cluster. For GKE, recommended Ubuntu as guest OS image since it containsopen-iscsi
already.
Installation
- Add Longhorn char 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
longhorn-system
namespaceand install Longhorn chart together.
helm install longhorn/longhorn --name longhorn --namespace longhorn-system
- With Helm 3, the following commands will create
longhorn-system
namespace first, then install 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.