53 lines
1.3 KiB
Markdown
53 lines
1.3 KiB
Markdown
# Longhorn
|
|
|
|
Documentation :
|
|
|
|
- <https://longhorn.io/docs/1.2.4/deploy/install/install-with-helm/>
|
|
- <https://artifacthub.io/packages/helm/longhorn/longhorn>
|
|
- <https://longhorn.io/docs/1.3.0/best-practices/>
|
|
- <https://community.exoscale.com/documentation/sks/longhorn-exoscale-sks/#configuring-backup-to-exoscale-sos>
|
|
|
|
## Installation de Longhorn
|
|
|
|
- Il faut installer une release "stable" (1.4.1 en Mars 2023) : <https://github.com/longhorn/longhorn#release-status>
|
|
- Modifier les fichier values, exemple avec la target de backup
|
|
|
|
```bash
|
|
helm repo add longhorn https://charts.longhorn.io
|
|
helm repo update
|
|
helm search repo longhorn --versions
|
|
|
|
|
|
helm upgrade longhorn longhorn/longhorn \
|
|
--install \
|
|
--atomic \
|
|
--cleanup-on-fail \
|
|
--version 1.4.1 \
|
|
--values=longhorn-values.yaml \
|
|
--namespace longhorn-system \
|
|
--create-namespace
|
|
```
|
|
|
|
```bash
|
|
|
|
helm upgrade longhornbackups ./longhornbackups \
|
|
--install \
|
|
--atomic \
|
|
--cleanup-on-fail \
|
|
--values=./longhornbackups/longhorn-secret-values.yaml \
|
|
--namespace longhorn-system \
|
|
--create-namespace
|
|
```
|
|
|
|
## Connexion
|
|
|
|
```bash
|
|
kubectl port-forward deployment/longhorn-ui 7000:8000 -n longhorn-system
|
|
```
|
|
|
|
Puis <http://127.0.0.1:7000>
|
|
|
|
## Upgrade
|
|
|
|
Voir <https://longhorn.io/docs/1.2.4/deploy/upgrade/>, <https://longhorn.io/docs/1.3.1/deploy/upgrade/>
|