Home

Awesome

<h1 align="center" style="border-bottom: none"> <a href="https://longhorn.io/" target="_blank"><img alt="Longhorn" width="300px" src="https://github.com/longhorn/website/blob/master/static/img/logos/longhorn-stacked-color.png""></a> </h1> <p align="center">A CNCF Incubating Project. Visit <a href="https://longhorn.io/" target="_blank">longhorn.io</a> for the full documentation.</p> <div align="center">

OpenSSF Scorecard Releases GitHub Docs

</div>

Longhorn is a distributed block storage system for Kubernetes. Longhorn is cloud-native storage built using Kubernetes and container primitives.

Longhorn is lightweight, reliable, and powerful. You can install Longhorn on an existing Kubernetes cluster with one kubectl apply command or by using Helm charts. Once Longhorn is installed, it adds persistent volume support to the Kubernetes cluster.

Longhorn implements distributed block storage using containers and microservices. Longhorn creates a dedicated storage controller for each block device volume and synchronously replicates the volume across multiple replicas stored on multiple nodes. The storage controller and replicas are themselves orchestrated using Kubernetes. Here are some notable features of Longhorn:

  1. Enterprise-grade distributed storage with no single point of failure
  2. Incremental snapshot of block storage
  3. Backup to secondary storage (NFSv4 or S3-compatible object storage) built on efficient change block detection
  4. Recurring snapshot and backup
  5. Automated non-disruptive upgrade. You can upgrade the entire Longhorn software stack without disrupting running volumes!
  6. Intuitive GUI dashboard

You can read more technical details of Longhorn here.

Releases

NOTE:

https://github.com/longhorn/longhorn/releases

ReleaseLatest VersionStable VersionsRelease NoteImportant NoteActive
1.7*1.7.21.7.2, 1.7.1🔗🔗✅
1.6*1.6.31.6.3, 1.6.2, 1.6.1🔗🔗✅
1.5*1.5.51.5.5, 1.5.4, 1.5.3🔗🔗✅
1.41.4.41.4.4, 1.4.3, 1.4.2, 1.4.1🔗🔗
1.31.3.31.3.3, 1.3.2🔗🔗
1.21.2.61.2.6, 1.2.5, 1.2.4, 1.2.3, 1.2.2🔗🔗
1.11.1.31.1.3, 1.1.2🔗

Roadmap

https://github.com/longhorn/longhorn/wiki/Roadmap

Components

Longhorn is 100% open-source software. Project source code is spread across several repositories:

ComponentWhat it doesGitHub repo
Longhorn Backing Image ManagerBacking image download, sync, and deletion in a disklonghorn/backing-image-manager
Longhorn Instance ManagerController/replica instance lifecycle managementlonghorn/longhorn-instance-manager
Longhorn ManagerLonghorn orchestration, includes CSI driver for Kuberneteslonghorn/longhorn-manager
Longhorn Share ManagerNFS provisioner that exposes Longhorn volumes as ReadWriteMany volumeslonghorn/longhorn-share-manager
Longhorn UIThe Longhorn dashboardlonghorn/longhorn-ui
LibraryWhat it doesGitHub repo
Longhorn EngineV1 Core controller/replica logiclonghorn/longhorn-engine
Longhorn SPDK EngineV2 Core controller/replica logiclonghorn/longhorn-spdk-engine
iSCSI HelperV1 iSCSI client and server librarieslonghorn/go-iscsi-helper
SPDK HelperV2 SPDK client and server librarieslonghorn/go-spdk-helper
Backup StoreBackkup librarieslonghorn/backupstore
Common Librarieslonghorn/go-common-libs

Longhorn UI

Get Started

Requirements

For the installation requirements, refer to the Longhorn documentation.

Installation

NOTE: Please note that the master branch is for the upcoming feature release development. For an official release installation or upgrade, please take a look at the ways below.

Longhorn can be installed on a Kubernetes cluster in several ways:

Documentation

The official Longhorn documentation is here.

Get Involved

Discussion, Feedback

If having any discussions or feedback, feel free to file a discussion.

Features Request, Bug Reporting

If having any issues, feel free to file an issue. We have a weekly community issue review meeting to review all reported issues or enhancement requests.

When creating a bug issue, please help upload the support bundle to the issue or send it to longhorn-support-bundle.

Report Vulnerabilities

If any vulnerabilities are found, please report them to longhorn-security.

Community

Longhorn is open-source software, so contributions are greatly welcome. Please read Code of Conduct and Contributing Guideline before contributing.

Contributing code is not the only way of contributing. We value feedback very much and many of the Longhorn features originated from users' feedback. If you have any feedback, feel free to file an issue and talk to the developers at the CNCF #longhorn Slack channel.

If you are having any discussion, feedback, requests, issues, or security reports, please follow the below ways. We also have a CNCF Slack channel: longhorn for discussion.

Community Meeting and Office Hours

Hosted by the core maintainers of Longhorn: 4th Friday of every month at 09:00 (CET) or 16:00 (CST) at https://community.cncf.io/longhorn-community/.

Longhorn Mailing List

Stay up to date on the latest news and events: https://lists.cncf.io/g/cncf-longhorn

You can read more about the community and its events here: https://github.com/longhorn/community

License

Copyright (c) 2014-2022 The Longhorn Authors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Longhorn is a CNCF Incubating Project

Longhorn is a CNCF Incubating Project