Skip to content
@openebs

OpenEBS

High-Performance Container Native Stateful Persistent Block-mode and Filesystem storage platform for K8s // A CNCF Member project

Welcome to OpenEBS

Quick linksOpenEBS WebsiteOpenEBS DocsMain RepoCommunity RepoCommunity Meeting

CNCF StatusLICENSEFOSSA StatusCLOMonitorSlackCommunity MeetingsArtifact HUB

Overview

What is OpenEBS?

OpenEBS is an open-source Container Native Storage solution that provides persistent storage for Kubernetes workloads. It enables dynamic provisioning of storage resources using containerized storage controllers, making it highly flexible and cloud-native. OpenEBS supports various storage engines, including LocalPVs for direct node storage and Replicated PV advanced data replication and resilience. It is designed to integrate seamlessly with Kubernetes, offering benefits like storage policies, resize, thin-provisioning, snapshots, and restore capabilities, making it an ideal choice for stateful applications.

OpenEBS offers two primary storage options for Kubernetes workloads: Local Storage and Replicated Storage. Below is a comparative overview:

FeatureLocal StorageReplicated Storage
Data AvailabilityLimited to the node where the volume is provisioned; not suitable for high-availability requirements.Synchronously replicates data across multiple nodes, ensuring high availability and durability.
Use CasesIdeal for applications managing their own replication and availability, such as distributed databases like MongoDB and Cassandra.Suitable for stateful workloads requiring storage-level replication and high availability, like Percona/ Standalone DBs, and GitLab.
PerformanceProvides near-disk performance with minimal overhead.Designed for high performance, leveraging NVMe-oF semantics for low-latency access.
LimitationsNot highly available; node failure leads to data unavailability.Requires sufficient resources (CPU, RAM, NVMe) for optimal performance.
Snapshot and CloningSupported when backed by advanced filesystems like LVM or ZFS.Supported, providing enterprise storage capabilities.
Backup and RestoreSupported via Velero, using Restic for local volumes.Supported via Velero, ensuring data protection and recovery.

In summary, Local Storage is a good choice when your application can manage its own replication and high availability, and Replicated Storage when you require storage-level replication, enhanced data durability and network-based storage access.

Below are the sub-projects or the major storage solutions under the OpenEBS Umbrella. Visit the individual repositories to learn more about their usage and architecture.

Sub-ProjectLocal PV HostpathLocal PV ZFSLocal PV LVMLocal PV Rawfile (Experimental)Mayastor
TypeSingle-nodeSingle-nodeSingle-nodeSingle-nodeMulti-node
What is it for?Replacement for in-Tree Kubernetes CSI HostpathStorage engine for ZFS managed backend storageStorage engine for LVM2 managed backend storageExperimental engine for using an extent file as block storageGeneral purpose replicated enterprise storage
Designed forDevelopers or DevOpsZFS users and production deploymentsLVM2 users and production deploymentsDevelopersEnterprises and production deployments
FeaturesEverything in Kubernetes Hostpath, plus: - Dynamic provisioning, Zero configuration, No CSI driverProvision ZFS datasets, Provision ZFS volumes, Dynamic provisioning, ZFS resilience, ZFS RAID protection, CSI driverProvision LVM2 volumes, Dynamic provisioning, LVM2 RAID protection, CSI driverProvision file system from local files as persistent volumes, CSI driverReplicated storage NVMe / RDMA, Snapshots, Clones, High availability, CSI driver
StatusStable, deployable in PRODStable, deployable in PRODStable, deployable in PRODBeta, undergoing evaluation & integrationStable, deployable in PROD
Current VersionReleasesReleasesReleasesReleasesReleases

Why OpenEBS?

OpenEBS offers several compelling advantages for managing storage in Kubernetes environments:

  • Cloud-Native Architecture: Designed as a cloud-native solution, OpenEBS integrates seamlessly with Kubernetes, most of the storage engines are CSI compliant.
  • Solutions for wide range of workloads: Solutions for both workloads which need or may not need replication.
  • Avoidance of Cloud Lock-In: By abstracting storage management, OpenEBS facilitates the movement of data across various Kubernetes environments, whether on-premises or in the cloud, thereby reducing dependency on a single cloud provider.
  • Cost Efficiency: With features like thin provisioning OpenEBS enables dynamic allocation of storage resources, potentially reducing storage by preventing overprovisioning and allowing for on-the-fly storage expansion.
  • High Availability with Lower Blast Radius: OpenEBS enhances application resilience by synchronously replicating data across multiple nodes, ensuring high availability. In the event of a node failure, only the data on that specific node is affected, minimizing the impact on the overall system.

These features make OpenEBS a robust and flexible solution for managing persistent storage in Kubernetes environments.

Documents

Community

Legacy Edition

Warning

Legacy engines have been archived and migrated out of the OpenEBS GitHub org and into OpenEBS Archive org.

The following engines have been archived and migrated:

IDData-EnginesEmbedded tech stackStatusAction date
1JivaiSCSIdeprecated & has been Migrated to OpenEBS Archive29 Apr, 2024
2cStorOpen ZFSdeprecated & has been Migrated to OpenEBS Archive29 Apr, 2024
3NFS ProvisionerNFS userspace serverdeprecated & has been Migrated to OpenEBS Archive29 Apr, 2024
4LocalPV DeviceNode Local storagedeprecated & has been Migrated to OpenEBS Archive29 Apr, 2024
5NDMNode Local storagedeprecated & has been Migrated to OpenEBS Archive29 Apr, 2024
6+43 other repos & projects
(Total Repos migrated: 49)
66% of Project's repos have been ArchivedPlease see the OpenEBS Archive org29 Apr, 2024

Star History

Star History Chart

OpenEBS is a CNCF Sandbox Project

Pinned Loading

  1. openebsopenebsPublic

    A popular & widely deployed Open Source Container Native Storage platform for Stateful Persistent Applications on Kubernetes.

    9.8k 987

  2. mayastormayastorPublic

    Dynamically provision Stateful Persistent Replicated Cluster-wide Fabric Volumes & Filesystems for Kubernetes that is provisioned from an optimized NVME SPDK backend data storage stack.

    Rust 1.1k 141

  3. dynamic-localpv-provisionerdynamic-localpv-provisionerPublic

    Dynamically deploy Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is provisioned from simple local filesystem storage.

    Go 208 82

  4. zfs-localpvzfs-localpvPublic

    Dynamically provision Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is integrated with a backend ZFS data storage stack.

    Go 569 126

  5. lvm-localpvlvm-localpvPublic

    Dynamically provision Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is integrated with a backend LVM2 data storage stack.

    Go 349 123

  6. rawfile-localpvrawfile-localpvPublic

    Dynamically deploy Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is provisioned from RAW-device file loop mounted Local-Hostpath storage.

    Python 99 38

Repositories

Showing 10 of 28 repositories

Top languages

Loading…

Most used topics

Loading…