Created
February 21, 2021 08:43
-
-
Save saiyam1814/101e28bd28f3359d7591e6d9761f505b to your computer and use it in GitHub Desktop.
Longhorn
This file contains hidden or 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
curl -sfL https://get.k3s.io | sh - | |
kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/v1.1.0/deploy/longhorn.yaml | |
kubectl edit svc longhorn-frontend -n longhorn-system | |
kubectl patch storageclass local-path -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"false"}}}' | |
kubectl patch storageclass longhorn -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment