Skip to main content
Version: 0.8.0-archived

Install With Kubectl

Using kubectl

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

kubectl create -f https://raw.githubusercontent.com/longhorn/longhorn/v0.8.0/deploy/longhorn.yaml

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 \
--watch
info

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