Created
November 12, 2021 03:59
-
-
Save Vertiwell/b62aa12146dda0f627e132cc50dffe6a to your computer and use it in GitHub Desktop.
longhorn.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### Deploying Longhorn on Kubernetes for Debian/Ubuntu based OS | |
## Baseline Guide: https://longhorn.io/docs/1.2.2/deploy/install/install-with-helm/ | |
# Type of Deployment: Helm | |
### Minimum Requirements ### | |
## Three Worker Node Cluster (Tested on K0s, K3s, K8s) | |
## Each worker node must have a blank drive to consume, if you need to wipe said drives, use: dd if=/dev/zero of=/dev/sdb bs=1M | |
# | |
## The following base packages are required: | |
# Helm, Package Manager | |
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 && \ | |
chmod 700 get_helm.sh && \ | |
./get_helm.sh && \ | |
# | |
### Installation ### | |
# Install the Helm chart repo | |
helm repo add longhorn https://charts.longhorn.io && helm repo update && \ | |
# Deploy Longhorn | |
helm install longhorn longhorn/longhorn --create-namespace --namespace longhorn-system |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment