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