Longhorn Manager is a Kubernetes storage orchestrator that provisions and manages distributed block storage volumes across a cluster.
The tool addresses the need for persistent storage in Kubernetes by implementing a distributed storage system where data is replicated across multiple nodes. It works by deploying manager components alongside CSI plugin components that handle volume provisioning, attachment, and lifecycle management. Volumes are stored on the filesystem using iSCSI and NFS protocols, with data replicated to provide fault tolerance.
Longhorn Manager suits clusters that need reliable persistent storage without external storage infrastructure. It works best on Kubernetes clusters running version 1.21 or later with mount propagation enabled, where nodes have iSCSI and NFS client tools installed and filesystems supporting file extents. The deployment is self-contained within a single kubectl command that installs the manager, instance manager, CSI components, and UI into the longhorn-system namespace. Teams should be aware that cleanup requires careful sequencing: volumes and workloads must be deleted first, the deleting-confirmation-flag setting must be enabled, and an uninstallation job must complete before removing remaining components to avoid cluster damage.
The project maintains active build and test infrastructure with unit tests covering affected modules and integration tests in a separate repository. Development follows a structured contribution process documented in the main Longhorn repository.