# Longhorn
download the cli
curl -sSfL -o longhornctl https://github.com/longhorn/cli/releases/download/v1.10.0/longhornctl-linux-amd64
check prerequisites
./longhornctl check preflight --kubeconfig=/home/davidhsaiou/.kube/config
install prerequisites
./longhornctl install preflight --kubeconfig=/home/davidhsaiou/.kube/config
apply longhorn resources
kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/v1.10.0/deploy/longhorn.yaml
needed by longhorn linux modules
sudo nano /etc/modules-load.d/custom-modules.conf
#Add the following lines:
# > nfs
# > dm_crypt