Deploy Longhorn with Kubernetes
You can install Longhorn on any Kubernetes cluster using kubectl with this command:
kubectl apply -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 \
The following items will be deployed to Kubernetes
All Longhorn bits will be scoped to this namespace.
Service account is created in the longhorn-system namespace.
This role will have access to:
This connects the longhorn-role to the longhorn-service-account in the longhorn-system namespace
The following CustomResourceDefinitions will be installed
At this point Longhorn should be ready to use.
© 2019-2021 Longhorn Authors | Documentation Distributed under CC-BY-4.0
© 2021 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.