Install With Kubectl

Install Longhorn with the kubectl client.

Using kubectl

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

kubectl create -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.

© 2019-2024 Longhorn Authors | Documentation Distributed under CC-BY-4.0

© 2024 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.