Skip to content

Instantly share code, notes, and snippets.

@zackbradys
Last active January 27, 2024 16:44
Show Gist options
  • Save zackbradys/eff121168fe3557a2db669948892e7e6 to your computer and use it in GitHub Desktop.
Save zackbradys/eff121168fe3557a2db669948892e7e6 to your computer and use it in GitHub Desktop.
Effortless, Easy, and Efficient installation steps of Rancher Longhorn
### Add and Update the Helm Repository
helm repo add longhorn https://charts.longhorn.io
helm repo update
### Create the Longhorn Namespace and Install Longhorn
kubectl create namespace longhorn-system
helm upgrade -i longhorn longhorn/longhorn --namespace longhorn-system --set ingress.enabled=true --set ingress.host=longhorn.example.com
### Wait for the deployment/rollout
sleep 30
### Verify the status of Longhorn
kubectl get pods --namespace longhorn-system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment