Skip to main content
XenonStack

Enterprise Digital Platform

XenonStack Insights Rook Storage Orchestration for Kubernetes: Guide

| Published | Updated

Rook Storage Orchestration for Kubernetes: Guide
7:54
Rook storage orchestration for Kubernetes: cluster, Rook operator, Ceph CSI provisioning, block, file and object storage

Key takeaway

  • Rook automates Ceph block, file and object storage on Kubernetes. See how the operator works, what you need to install it and where AI agents can help.

Rook is an open source, cloud-native storage orchestrator that automates the deployment and management of Ceph storage on Kubernetes. It lets platform teams run block, shared file and object storage inside the same cluster as their applications, using Kubernetes resources instead of separate storage tooling.

This guide is for platform, DevOps and infrastructure engineers deciding how to give Kubernetes workloads persistent storage. It covers what Rook does, its architecture, the storage types it provides, what you need before installing, and how AI agents change the operating model.

What is Rook storage orchestration?

The Rook introduction calls Rook an open source cloud-native storage orchestrator. Its operator builds on Kubernetes resources to deploy, configure, scale, upgrade and monitor Ceph, which the same page describes as a highly scalable distributed storage solution for block, object and shared filesystem storage. Rook is hosted by the Cloud Native Computing Foundation as a graduated level project.

Two column diagram. Control plane: Rook operator, custom resources, Ceph daemons, Ceph CSI driver. Storage types: block RBD, filesystem CephFS, object S3, snapshots.

A note on older descriptions: earlier write-ups described NFS and local storage as separate Rook backends. The current documentation presents Ceph as the storage provider Rook manages, and lists NFS among the services offered through Ceph. Check the documentation for your Rook version before planning around any other backend.

For a wider introduction see Rook Storage: Ultimate Guide.

How is Rook built?

The storage architecture page describes a small set of parts working together.

PartRole according to the Rook docs
Rook operatorA container with everything needed to bootstrap and monitor the storage cluster. It starts and monitors the Ceph daemons, and watches the Ceph custom resources to apply changes.
Custom resourcesThe glossary lists CephCluster, CephBlockPool, CephFilesystem and CephObjectStore, each used to create and configure that kind of resource.
Ceph CSI driverRook configures the Ceph CSI driver, which provisions and mounts storage to pods.
Ceph daemonsMonitors, OSDs for RADOS storage, MDS for shared filesystems and RGW for object buckets.
Toolbox and dashboardThe quickstart describes a toolbox pod with a Ceph admin client for troubleshooting, and the Ceph dashboard for cluster status.

The architecture page also says that Rook is not in the Ceph data path: reads and writes go through Ceph, while Rook manages its lifecycle. That separation matters when you reason about performance and failure.

What storage types does Rook provide?

TypeKubernetes accessHow it is requested
Block (RBD)ReadWriteOnce: one node at a timeA PVC references the Ceph RBD storage class and the CSI provisioner creates the image
Shared filesystem (CephFS)ReadWriteMany: many nodesA PVC against a CephFS storage class; the provisioner creates a subvolume
Object (S3 compatible)BucketAn ObjectBucketClaim; the operator creates the RGW bucket, a Secret and a ConfigMap

Container design affects which type you pick. See Container Design Patterns for Kubernetes for how pods share and persist data, and Cloud Native Storage and its Key Features for the wider storage landscape.

How does Rook handle availability and data protection?

The Rook docs state that production clusters must have three or more nodes for a resilient storage platform. Ceph pools with a replica size above one spread data across nodes and OSDs. Rook also supports volume snapshots for RBD and CephFS volumes: you install the snapshot controller and CRDs, create a VolumeSnapshotClass, take a VolumeSnapshot of a PVC, and restore by creating a new PVC with the snapshot as its data source. The snapshot guide notes that with the ceph-csi-operator the snapshot policy defaults to none, which disables the snapshot sidecar, and that an unencrypted PVC cannot be restored to an encrypted one. See the snapshot documentation.

Before relying on erasure coding, mirroring or disaster recovery, read the matching pages of the Rook documentation, because this guide does not describe their settings.

What do you need before installing Rook?

The quickstart lists the prerequisites. It states that Kubernetes versions v1.32 through v1.37 are supported at the time of reading. At least one local storage option is required: raw devices with no partitions or formatted filesystem, raw partitions, LVM logical volumes, encrypted or multipath devices, or a block mode PV from a storage class. It also advises using a virtual machine for testing and never using a host where local devices may be consumed by mistake.

The steps are to apply the CRDs and common resources, apply the operator manifest and wait until the operator is running, apply the cluster manifest for your environment, confirm that mons are in quorum, a mgr is active and at least three OSDs are up and in, then add storage classes and optionally the toolbox and dashboard. Stateful applications such as databases are a common first workload; see PostgreSQL Deployment in Kubernetes. Operators are also used for other workloads, as in Kubeless: Kubernetes Native Serverless Framework.

When is Rook not the right choice?

Rook adds a distributed storage system to run and upgrade. If your cloud provider already offers managed volumes that meet your needs, or you have fewer than three nodes available for storage, a managed option may be simpler. Rook fits teams that want Ceph on their own Kubernetes infrastructure, on bare metal or in the cloud, and are prepared to operate it.

How do AI agents change storage operations on Kubernetes?

Agents can watch cluster health, interpret operator and Ceph status, propose a capacity change or open a ticket for a failed disk. Because storage changes can put data at risk, keep a person approving destructive actions, give the agent read access first, and record every action it takes with the evidence it used.

The ElixirClaw AI agents computing platform is XenonStack's platform for building and running such DevOps agents. The pattern holds with any platform: limit permissions, require approval for risky steps and log decisions.

What should you do first?

  1. Decide which storage types your workloads need: block, shared filesystem or object.
  2. Confirm you have three or more nodes and a supported Kubernetes version.
  3. Identify clean raw devices or volumes, and keep test and production hosts separate.
  4. Install the operator and a test cluster in a virtual machine environment and check the health criteria.
  5. Test a snapshot and restore before moving any production data.

To map one operations decision your agents make, and the data and policy it depends on, book a Context Workshop. See what happens in the workshop.

Frequently asked questions

What is Rook in Kubernetes?

Rook is an open source cloud-native storage orchestrator whose operator deploys, configures, scales, upgrades and monitors Ceph on Kubernetes.

What storage does Rook provide?

Through Ceph it provides block storage (RBD), shared filesystems (CephFS) and S3 compatible object storage, and the documentation also lists NFS.

Is Rook in the data path?

No. The Rook architecture documentation says Rook is not in the Ceph data path.

How many nodes does a production Rook cluster need?

The Rook documentation says production clusters must have three or more nodes for a resilient storage platform.

Does Rook support snapshots?

Yes, for RBD and CephFS volumes, once the snapshot controller and CRDs are installed and a VolumeSnapshotClass exists.

Ready to put AI agents to work? See an ElixirClaw demo: the agentic OS to build, orchestrate and govern AI agents across your enterprise systems.

Table of Contents

navdeep-singh-gill

Navdeep Singh Gill

Global CEO and Founder of XenonStack

LinkedIn profile

Navdeep Singh Gill is serving as Chief Executive Officer and Product Architect at XenonStack. He holds expertise in building SaaS Platform for Decentralised Big Data management and Governance, AI Marketplace for Operationalising and Scaling. His incredible experience in AI Technologies and Big Data Engineering thrills him to write about different use cases and its approach to solutions.

Get the latest articles in your inbox

Subscribe Now

Interested in solving your challenges with the XenonStack team?
Get Started

Tell us about you and your priorities so we can prepare the right conversation. It takes about 2 minutes.

Please Select your Industry
Banking
Fintech
Payment Providers
Wealth Management
Discrete Manufacturing
Semiconductor
Machinery Manufacturing / Automation
Appliances / Electrical / Electronics
Elevator Manufacturing
Defense & Space Manufacturing
Computers & Electronics / Industrial Machinery
Motor Vehicle Manufacturing
Food and Beverages
Distillery & Wines
Beverages
Shipping
Logistics
Mobility (EV / Public Transport)
Energy & Utilities
Hospitality
Digital Gaming Platforms
SportsTech with AI
Public Safety - Explosives
Public Safety - Firefighting
Public Safety - Surveillance
Public Safety - Others
Media Platforms
City Operations
Airlines & Aviation
Defense Warfare & Drones
Robotics Engineering
Drones Manufacturing
AI Labs for Colleges
AI MSP / Quantum / AGI Institutes
Retail Apparel and Fashion

Continue