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.
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.
| Part | Role according to the Rook docs |
|---|---|
| Rook operator | A 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 resources | The glossary lists CephCluster, CephBlockPool, CephFilesystem and CephObjectStore, each used to create and configure that kind of resource. |
| Ceph CSI driver | Rook configures the Ceph CSI driver, which provisions and mounts storage to pods. |
| Ceph daemons | Monitors, OSDs for RADOS storage, MDS for shared filesystems and RGW for object buckets. |
| Toolbox and dashboard | The 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?
| Type | Kubernetes access | How it is requested |
|---|---|---|
| Block (RBD) | ReadWriteOnce: one node at a time | A PVC references the Ceph RBD storage class and the CSI provisioner creates the image |
| Shared filesystem (CephFS) | ReadWriteMany: many nodes | A PVC against a CephFS storage class; the provisioner creates a subvolume |
| Object (S3 compatible) | Bucket | An 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?
- Decide which storage types your workloads need: block, shared filesystem or object.
- Confirm you have three or more nodes and a supported Kubernetes version.
- Identify clean raw devices or volumes, and keep test and production hosts separate.
- Install the operator and a test cluster in a virtual machine environment and check the health criteria.
- 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.
Explore the XenonStack platform family: ElixirData · ElixirClaw · ElixirHub · NexaStack · MetaSecure · Neural AI · AgentGRC · AgentSRE · AgentAnalyst · AgentInstruct · AgentRAI · AgentScrum · AgentSearch · AgentForce · AI Aviator · SAIF Aviator · CohortIQ · XenonStack AI · XenonStack UAE