talira

Storage Orchestration for Kubernetes

open sourceApache-2.0self-hostablefree

Rook is a Kubernetes operator that deploys and runs Ceph, declaratively providing distributed block (RBD), shared file (CephFS) and S3-compatible object storage on a cluster's own disks, with NFS exports as well. The operator builds on Kubernetes resources to deploy, configure, provision, scale, upgrade and monitor Ceph, using the official upstream Ceph images, and it stays out of the data path: applications read and write to Ceph directly. It can also connect a cluster to an external Ceph cluster. Rook is a CNCF graduated project under Apache-2.0 (Ceph itself is LGPL).

Ways to install

Problems it solves

  • run Ceph inside my cluster without managing monitors and OSDs by hand
  • turn the spare disks on my bare-metal nodes into replicated persistent volumes
  • shared ReadWriteMany volumes that many pods on different nodes can write to at once
  • self-hosted S3-compatible object storage running in my own cluster
  • my on-prem cluster has no cloud block storage for databases' persistent volumes
  • keep storage copies on different hosts, racks or zones and rebuild them automatically after a failure
  • upgrade our Ceph storage cluster safely through an operator instead of a runbook
  • let one cluster consume storage from an existing external Ceph cluster
  • a storage system no single vendor controls, on hardware we choose

Features

  • block storage (RBD) through PVCs
  • shared POSIX filesystems (CephFS) for ReadWriteMany volumes
  • S3-compatible object storage (RGW) with versioning, lifecycle, replication, notifications and IAM
  • NFS exports through the NFS CSI driver
  • CephCluster, CephObjectStore and related custom resources
  • uses official upstream Ceph images; Ceph tools and the Ceph Dashboard keep working
  • external cluster mode to consume an existing Ceph cluster
  • OSDs on raw devices, partitions, LVM logical volumes or block-mode PVs
  • amd64 and arm64
  • Helm charts for the operator, the Ceph-CSI driver and the Ceph cluster

Limitations

  • Doesn't run on nodes without the RBD kernel module: GKE's Container-Optimized OS is one that lacks it2
  • Doesn't support CPU architectures other than amd64 and arm642

Alternatives

The same job

These do what Rook does.

  1. Longhorn Cloud native distributed block storage for Kubernetes
  2. OpenEBS Kubernetes Storage Simplified

Compare Rook with the top 3