talira

Kubernetes Storage Simplified

open sourceApache-2.0self-hostablefree

OpenEBS turns any storage available to Kubernetes worker nodes into Local or Replicated persistent volumes, provisioned dynamically by containerized storage controllers. Its Local PV engines (Hostpath, LVM, ZFS, and an experimental Rawfile) give near-disk performance on a single node for applications that replicate their own data; Replicated PV Mayastor synchronously copies each volume to several nodes and serves it as an NVMe-oF TCP target. Volumes can be resized and thin-provisioned, LVM, ZFS and Mayastor volumes can be snapshotted and cloned, and Velero backs them up. MayaData built it and donated it to the CNCF, where it's a Sandbox project under Apache-2.0.

Ways to install

Problems it solves

  • give my distributed database fast local disks as persistent volumes without network overhead
  • replace hostPath volumes with dynamically provisioned local volumes on each node
  • carve persistent volumes out of an LVM volume group or ZFS pool on my nodes
  • replicate volumes across three nodes so a database survives a node failure
  • low-latency replicated block storage over NVMe/TCP for stateful apps on bare metal
  • snapshot and clone persistent volumes on my self-managed cluster
  • thin-provision cluster storage so I don't over-allocate disk to every volume
  • move stateful workloads between on-prem and cloud clusters without a cloud provider's storage

Features

  • Local PV Hostpath with zero configuration and no CSI driver
  • Local PV LVM and Local PV ZFS CSI drivers with RAID protection
  • Local PV Rawfile (experimental, disabled by default)
  • Replicated PV Mayastor: synchronous replication across nodes over NVMe-oF TCP
  • dynamic provisioning, resize and thin provisioning
  • snapshots and clones (LVM, ZFS, Mayastor)
  • backup and restore with Velero
  • one Helm chart for all engines

Limitations

  • Local PV volumes aren't highly available: a node failure makes the volume's data unavailable2
  • Replicated storage doesn't run on ARM nodes: Replicated PV Mayastor requires x86-64 CPUs with SSE4.23
  • Doesn't export replicated volumes over iSCSI: Replicated PV Mayastor supports NVMe-oF TCP only3

Alternatives

The same job

These do what OpenEBS does.

  1. Longhorn Cloud native distributed block storage for Kubernetes
  2. Rook Storage Orchestration for Kubernetes
  3. Ceph The Future of Storage

Compare OpenEBS with the top 3