Install With Kubectl

Install Longhorn with the kubectl client.

Using kubectl

You can install Longhorn on any Kubernetes cluster using this command:

kubectl apply -f

One way to monitor the progress of the installation is to watch Pods being created in the longhorn-system namespace:

kubectl get pods \
--namespace longhorn-system \

Running Longhorn on Google Kubernetes Engine

Google Kubernetes Engine (GKE) requires some additional setup for Longorn to function properly. If you’re a GKE user, read this doc before proceeding.