Choosing CSI storage drivers for self-managed Kubernetes

A decision guide to choosing a CSI storage driver for on-premises and private cloud Kubernetes, covering array vendor drivers, Rook Ceph, Longhorn and OpenEBS by access mode, snapshot support and operating effort.

On this page

Choosing CSI storage drivers for self-managed Kubernetes starts with your workloads

This section decides how you pick the storage that backs persistent volumes in a self-managed cluster, and the answer depends on what your workloads need before it depends on any product. A cluster built on your own hardware or private cloud has no default cloud storage class, so something must provide volumes. That something is a CSI driver, and it is a separate choice from the Kubernetes cluster itself. The Container Storage Interface (CSI) is the plugin contract Kubernetes uses to create, attach, mount and snapshot volumes, so the same cluster can run on an array vendor driver, Ceph through Rook, Longhorn or OpenEBS. Changing the driver later means moving data, so the choice deserves the same care as the cluster design.

Three inputs narrow the field before you compare products. First, the access modes each workload needs: a database usually needs a volume mounted by one node at a time (ReadWriteOnce), while some shared file applications need many pods to mount the same volume at once (ReadWriteMany), and not every driver supports the second mode. Second, snapshot needs: confirm whether your backup approach depends on VolumeSnapshot support from the driver, because snapshot behavior differs by driver and by how you plan to restore. Third, who will operate the storage. An array vendor driver shifts much of the operating burden to the storage team and the array, while Ceph, Longhorn and OpenEBS put storage operations inside your Kubernetes platform team's scope.

Before you shortlist drivers, write down each workload with its access mode, performance expectations, failure tolerance and backup method, then check each candidate's official documentation for those exact capabilities. Confirm with the vendor or project which access modes, snapshot features and Kubernetes versions the driver currently supports, because these details change between releases. The CSI specification and the Kubernetes documentation on volumes are the neutral references for that check. A driver that meets every workload requirement on paper still needs a test in your environment with realistic failure scenarios before it becomes the platform default.

Which driver fits which storage backend

This table compares array vendor CSI drivers, Rook with Ceph, Longhorn and OpenEBS on backend type, access modes, snapshot support, operating effort and typical fit. Cells marked to confirm need a check against the vendor or project documentation for your exact version before you commit.

OptionBackend and data pathAccess modes and snapshotsOperating effort and typical fit
Array vendor CSI driverExisting SAN or NAS array from your storage vendor, presented to nodes through the driverDepends on the array and driver. Confirm block versus file access modes and snapshot support with the vendorLow for the cluster team if the array team already runs the platform. Fits sites with an established array and storage contract
Rook with CephCeph cluster on your own nodes or disks, managed by the Rook operator inside KubernetesBlock, shared file and object are possible in Ceph. Confirm which modes and snapshot classes your Rook release exposesHighest effort of the four. Needs planned failure domains, monitoring and upgrade care. Fits large clusters and teams that want one scalable storage layer
LonghornReplicated block volumes built from local disks on worker nodesConfirm ReadWriteMany support and snapshot behavior for your Longhorn version. Replicas are the main data protectionModerate effort. Depends on disk, network and kernel prerequisites. Fits small to mid-sized clusters that need replicated block storage on commodity nodes
OpenEBSEngines such as LVM and ZFS for node-local volumes, plus replicated engines for other workloadsLocal engines are node-bound, so node failure affects those volumes. Confirm the snapshot support for each engineModerate effort, with the choice of engine driving work. Fits databases that replicate themselves and workloads that accept node-local data

Matching access modes to workloads before you choose

Before comparing drivers, decide which access mode each workload needs, because the mode determines how many pods can mount a volume and where it can run. Each card below covers one mode or one check that connects the workload to the driver shortlist.

ReadWriteOnce for single-writer volumes

ReadWriteOnce lets one node mount a volume read-write at a time, though several pods on that node may share it. Most single-instance databases, search indexes and queue brokers fit this mode, since they expect exclusive write access to their data directory. For each candidate driver, confirm that it provides ReadWriteOnce block volumes on your hardware and that node failure triggers a clean reattach to another node.

Kubernetes volume docs

ReadWriteOncePod for strict single-pod writers

ReadWriteOncePod restricts a volume to a single pod across the whole cluster, which is stricter than ReadWriteOnce. It suits workloads where two pods on the same node writing to one volume would cause corruption, such as a primary database during a rolling update. Check that your Kubernetes version supports this access mode and that your CSI driver accepts it, then confirm the behavior during a rolling update in a test cluster.

ReadWriteMany for shared file mounts

ReadWriteMany allows many nodes to mount a volume read-write at the same time, which is what shared content directories, upload folders and some build caches need. Few block-based drivers provide this mode, so it often pushes the design toward a file-based or object-backed option. Ask each vendor or project to demonstrate concurrent writes from several nodes before treating the mode as available. The sibling topic on shared ReadWriteMany storage covers backend trade-offs in detail.

Multi-pod stateful applications

Applications such as clustered search nodes, message brokers and replicated caches usually run several pods, and each pod needs its own volume. These workloads normally need ReadWriteOnce volumes provisioned per replica through a StatefulSet's volume claim templates, not one shared volume. Confirm that your driver provisions volumes quickly for each new replica and that scaling down does not leave orphaned volumes that consume capacity.

Checking mode support against the driver

Access mode support is a property of the specific driver and backend combination, not of the Kubernetes API alone. A driver can accept a mode in its manifest while the underlying array, pool or protocol cannot honor it under failure. Build a short matrix that lists each workload, its required mode, the driver under review and the test that proves it. Ask the vendor or project for written confirmation of each row, and run that test on your own hardware.

Mode choices that drive storage tiers

Access mode choices affect the StorageClass design, backup approach and node placement that follow. A ReadWriteMany requirement may force you to run a second storage system alongside block storage, which adds operating work and a second backup path. Record which workloads need shared access before you select a driver, so the cost of an additional backend appears in the comparison. Use the StorageClass design topic to plan how each tier maps to its mode.

A decision path for selecting a storage driver

This sequence turns a vague request for persistent storage into a shortlist of CSI drivers that have been tested against your workloads, failure scenarios and team skills. Each step produces a written output that the next step depends on, so the final choice can be defended to security, operations and procurement.

  1. Inventory workloads and their access modes

    List every workload that needs persistent volumes, including databases, message brokers, object caches, shared file directories and build caches. For each one, record the expected volume count and size, whether it runs as a StatefulSet or Deployment, whether it replicates data itself, and which access mode it needs: ReadWriteOnce for a single node, ReadWriteMany for shared mounts, or ReadOnlyMany for read-only content. The platform team and the application owners should sign off together. The step is done when every workload has an access mode and a named owner, and when any workload that requires ReadWriteMany is flagged, because only some drivers and backends provide it.

  2. Define snapshot and restore requirements

    For each workload, decide what recovery must look like: whether point-in-time volume snapshots are needed, whether restores must be application-consistent, how far back restores must reach, and whether snapshots will feed a backup tool such as Velero or stay inside the storage system. Ask each candidate driver whether it supports the CSI snapshot API and which snapshot classes it provides, and confirm that answer against the driver's own documentation rather than marketing material. The output is a short requirements table that lists the recovery need per workload. The step is complete when the security and operations teams have agreed the restore expectations in writing.

  3. Identify existing array and Ceph skills

    Survey the people who will run the storage after go-live. Note whether the team already operates an enterprise array from a specific vendor, has run Ceph, or has only worked with cloud-managed volumes. Record who holds on-call responsibility for storage, how quickly they can rebuild a failed disk or replace a node, and whether they have tested a restore. Operating effort depends heavily on this inventory: a driver that the team has never run can take longer to stabilize than one that matches current skills, even when its feature list looks stronger. The output is a skills matrix. The step is finished when each candidate option has a named owner who can explain its failure behavior.

  4. Set failure domain and network requirements

    Document the failure domains you must survive: a disk, a node, a rack, a top-of-rack switch or a whole room. Confirm which of these the storage design must tolerate and how many replicas or erasure-coded fragments each option needs to meet that goal. Measure or request from the hardware vendor the network bandwidth and latency between nodes, because replicated block storage is sensitive to both, and confirm whether storage traffic will share links with application traffic. Check the disk and kernel prerequisites that each candidate lists. The output is a failure domain map and a network and disk specification. The step is complete when the infrastructure team has validated that the hardware can meet the stated requirements.

  5. Shortlist drivers against the requirements

    Compare the options that fit the requirements gathered so far. Typical candidates for self-managed clusters include the storage vendor's own CSI driver for an existing array, Ceph through Rook for block, file and object needs, Longhorn for replicated block volumes on commodity nodes, and OpenEBS for node-local or replicated engines. Score each against access modes, snapshot support, failure domain coverage, skills and operating effort. Remove any option that cannot meet a must-have requirement, and document why. Ask each vendor or project for a written statement of supported features and version compatibility with your Kubernetes release, because support varies by driver version. The output is a shortlist of no more than two or three candidates with the reasons for each exclusion. The step is done when the shortlist has an agreed owner and a recorded rationale.

  6. Build a proof of concept on representative hardware

    Install each shortlisted driver on a test cluster built from the same node types, network and disks planned for production, using the same Kubernetes version your platform will run. Create StorageClasses that mirror the planned tiers, provision volumes for each access mode, and run representative workloads, such as a database under write load and a shared directory mounted by several pods. Measure throughput, latency and rebalancing behavior. Record the exact steps needed to create snapshots and restore them. The output is a test report with measured results and the configuration used. The step is complete when the report has been reviewed by the storage owner and the application owners.

  7. Run failure tests and choose the driver

    Inject the failures identified in the failure domain map: power off a node that holds volume replicas, disconnect a storage network link, fill a disk, and drain a node during a workload update. Observe how long each volume remains unavailable, whether data stays consistent, how the cluster rebuilds replicas, and what the on-call team must do manually. Repeat one restore from a snapshot to confirm the recovery path works end to end. Compare the results with the requirements from earlier steps and select a driver. The decision record should list the chosen driver and version, the accepted trade-offs, the known limits, and the runbooks the team will need before go-live. The step is finished when that record is approved and the runbooks have been tested once.

How the storage options sit in the cluster

The path starts with a workload's PersistentVolumeClaim, which names a StorageClass. The CSI controller plugin handles provisioning and attach requests, while a node plugin on each worker mounts the volume. Three backend paths hang off this control path: an external array, a Rook-managed Ceph cluster on storage nodes, and node-local or replicated volumes from Longhorn or OpenEBS. Check where the trust and network boundary falls between storage nodes and worker nodes, because that boundary decides who can reach the data path and which network carries replication traffic.

CSI control and data paths to three storage backends across a trust boundary.

What each option asks your team to operate

Every option in this comparison moves operating work onto your team, but the work lands in different places. Array vendor CSI drivers mostly shift effort to the storage array: your storage team keeps firmware, multipathing and capacity on the array current, while the cluster team manages the driver version and its compatibility with each Kubernetes release. Ceph through Rook, Longhorn and OpenEBS keep the storage inside the cluster nodes, so the same people who patch nodes also own disks, kernels, replica health and rebuild traffic. Confirm with each vendor which kernel modules, iSCSI or NVMe-oF packages and minimum node versions their driver needs, and check that your node image provides them before you pick a path.

Hardware and latency drive most of the day-two load for the in-cluster options. Longhorn is sensitive to disk and network latency between replicas, and its documentation lists prerequisites that your nodes must meet. Ceph expects dedicated disks, enough nodes to rebuild replicas after a loss, and a network that carries replication traffic without contention. OpenEBS local engines avoid replication traffic but tie a volume to one node, so a node failure means the workload must be recovered on another node from a backup or from the application's own replication. Ask each vendor for its supported disk and network minimums, then measure your own hardware with a representative load before committing.

Capacity planning and recovery are where the paths differ most. Replicated systems consume raw capacity for every copy and need headroom to rebuild after a disk or node failure, so plan spare capacity for that rebuild, not just for current data. Array-backed volumes depend on the array's own recovery procedures and support contract. Before go-live, rehearse a node loss and a disk loss on a staging cluster, record how long volumes take to become healthy again, and confirm which team is paged for each failure. Upgrades add a recurring task: each Kubernetes minor release has its own version skew rules for node components, so the storage driver's supported Kubernetes range should set the pace of your upgrade plan.

How the choice differs by environment

Many regulated organizations already own a storage array from a major vendor and want Kubernetes volumes from the same platform their storage team monitors, backs up and replicates. In this case the usual starting point is the array vendor's CSI driver, which maps PersistentVolumeClaims to LUNs or volumes on the array and often exposes snapshots through the array's own features. The driver family depends on the vendor, so the first step is to confirm what the vendor supports for your Kubernetes version and CSI sidecar versions.

  • Driver support matrix: Confirm the driver's supported Kubernetes versions, the snapshot and expansion features it implements and whether it is certified by the vendor for your distribution.
  • Access modes: Check whether the array provides ReadWriteOnce block volumes only, or whether shared file options are also licensed and supported.
  • Multipath and network: Confirm the fabric (Fibre Channel, iSCSI or NVMe) and the multipath configuration on every worker node.
  • Ownership and change control: Decide who approves array changes, who holds array credentials and how the storage team and platform team split on-call duties.
  • Licensing and support terms: Ask what the vendor charges for the CSI driver, snapshot features and support tiers, and whether those costs recur.

Before you commit, confirm the driver vendor's support statement for your exact versions with the vendor, not from memory of a release note.

Security and operational considerations for storage drivers

A storage driver holds credentials to your array or Ceph cluster, creates and deletes volumes on request from the cluster, and moves data across the network. The cards below cover the controls that keep that access narrow and the operating routines that keep the driver working across Kubernetes upgrades.

Array and Ceph credential handling

The CSI driver authenticates to the storage backend with a dedicated user or API token, and that secret is stored as a Kubernetes Secret. Create a backend account scoped to the pools or volume groups the cluster needs, not an administrator account. Confirm that the secret is encrypted at rest in etcd, and decide whether a外部 secrets store will deliver it instead. Ask the vendor which permissions the driver needs for provisioning, snapshots and expansion, and document who can rotate the credential.

Secrets good practices

Least-privilege RBAC for driver service accounts

Each CSI driver runs under service accounts with cluster-level permissions to manage PersistentVolumes, VolumeAttachments and snapshot objects. Review the ClusterRoles the driver chart installs and remove any verbs or resources your chosen features do not use. Restrict who can read Secrets in the driver namespace and who can create StorageClasses that point to privileged backend pools. Ask the driver vendor to name every permission it requires, so your security team can review the manifest before it is applied.

Encryption at rest for volumes and backups

Encryption at rest can be applied at several layers: the array or Ceph cluster, the node disk under the storage engine, the backup target, and the Kubernetes API data in etcd. Each layer protects different data, and a single layer rarely covers all of them. Decide which layer owns the key, how keys are rotated, and what happens to snapshots and backups copied to object storage or NFS. Confirm with the vendor whether the driver supports encrypted volumes and how key material is passed to it.

Network segmentation for storage traffic

Storage replication, iSCSI or NVMe traffic, and Ceph monitor and OSD traffic should run on a network that workloads and user traffic cannot reach. Put the storage network on its own VLAN or interface, restrict which nodes can reach storage ports, and apply firewall rules at the array or cluster edge. For Longhorn and OpenEBS, replica traffic runs between nodes, so cluster network policies and node firewalls must allow it without opening it to pods. Ask the vendor for the list of ports and protocols the driver needs.

Upgrade coordination with Kubernetes minor versions

CSI drivers depend on Kubernetes APIs and sidecar versions that change between minor releases. Check the driver's compatibility matrix before each cluster upgrade, and upgrade the control plane first, then nodes, as the version skew policy requires. Plan driver upgrades in a test cluster with the same CSI features enabled, and confirm that snapshot CRDs match the snapshot controller version. Keep a rollback path for the driver chart, since a failed storage upgrade can block pod scheduling across the cluster.

Minor versions kubelet may lag
3
Version skew policy

Benchmark and audit alignment

Map the storage configuration to the relevant sections of the CIS Kubernetes Benchmark, covering RBAC, Secret handling and node settings that the driver touches. Enable Kubernetes audit logging for changes to StorageClasses, PersistentVolumes and driver Secrets, so administrative actions on storage are traceable. Record which benchmark recommendations the storage design intentionally departs from and why. Ask the auditor or assessor which evidence they expect for storage controls before the review begins.

Questions buyers ask before choosing a CSI driver

What drives the cost of running a self-managed CSI storage option?

The main cost is labor and the hardware you already buy, not a license fee for most open-source drivers. Cost depends on how many nodes and disks the storage layer spans, whether you need replication across failure domains, how many workloads use snapshots and backups, and how much skilled staff time the platform consumes after go-live. Array vendor drivers add array licensing and support contracts. Ceph through Rook, Longhorn and OpenEBS add engineering time for design, upgrades and failure testing. Ask any partner for a written quote that separates one-time work (design, build, test, handover) from recurring work (upgrades, monitoring, on-call, backup verification) and states which hardware and licenses are yours to buy.

Can our internal platform team run CSI storage alone?

Often yes, if at least one engineer already runs Kubernetes day to day and someone understands the storage backend you pick. An array vendor driver is usually the least new work when your array team already operates the hardware. Longhorn and OpenEBS suit teams that can own node disks, kernel settings and network latency. Ceph through Rook has the steepest learning curve because the failure domain design, OSD health and upgrades need practiced operators. Before deciding, check whether the same people can cover on-call, patching and restore testing. If they cannot, plan for a partner for the first build and for upgrade support, or confirm the coverage with a retainer.

How long does a proof of concept for a CSI driver take?

Duration depends on what you need to prove, not on a fixed template. The drivers you evaluate, the number of workloads you test, whether you need snapshots and restores verified, and whether the test hardware matches production all change the effort. A proof of concept that only checks provisioning on a small cluster is far shorter than one that measures failover, rebuilds after a node loss and restores from backup under load. Ask for the test matrix in writing: which access modes, storage classes, failure scenarios and performance targets will be measured, and who signs off on the results. Confirm the schedule with the vendor or partner against your own hardware, since no general duration is supplied here.

Which access modes does each storage option support?

Access mode decides whether a volume can be mounted by one node or many, and it is the first filter for most options. Block-based drivers such as Longhorn and OpenEBS replicated engines usually provide ReadWriteOnce volumes, which suit databases with one writer. Shared file workloads that need ReadWriteMany depend on the backend, so confirm it before committing. Ceph offers block, file and object interfaces, and its file layer is the usual route to shared volumes. Array vendor drivers differ by product and protocol. Check each driver's documentation for the exact access modes it supports and test the modes your applications need during the proof of concept.

What hardware, network and skills does the storage platform need?

Plan for disks, a reliable network and staff who can operate them. Replicated options need enough nodes and disks in separate failure domains, and their replication traffic shares the network with application traffic, so latency and bandwidth matter. Longhorn documents hardware and kernel prerequisites that you should review before sizing nodes, and OpenEBS engines have their own disk and kernel requirements. Ceph needs dedicated monitors, managers and object storage daemons spread across hosts. Your team also needs access to the cluster, node operating systems, the storage array management plane where relevant, and backup targets. Build a checklist from each driver's official requirements and confirm it against your hardware inventory.

Do snapshots work the same way across all CSI drivers?

No. Snapshot support depends on the driver and on the CSI snapshot components installed in the cluster. Each driver needs its own VolumeSnapshotClass, and a snapshot taken by one driver cannot be restored by another. Some options also differ in whether snapshots are application consistent, which means databases must be quiesced or use their own backup tools. Check that the driver implements the CSI snapshot capability, that the snapshot controller and CRDs are installed at the right version, and how snapshots fit with your backup tool, such as Velero. Test a restore on a separate cluster before trusting snapshots as your recovery path.

When should we bring in a partner for CSI storage?

Bring in a partner when the storage design affects data safety and your team lacks recent hands-on time with the chosen backend. Common triggers include a first Ceph deployment, a shared file requirement that needs a specific backend, a regulated environment where evidence of backup and restore testing matters, or a planned Kubernetes minor version upgrade that the storage driver must follow. DeployOpen implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms in your own infrastructure, and most engagements are fixed-scope with written deliverables and timelines. A partner does not replace your ownership of the data, so agree in advance who runs restore tests and who is on call after handover.

How DeployOpen scopes and delivers storage driver selection

DeployOpen starts by writing down which workloads need storage, which access modes and snapshot behavior they depend on, and where the cluster runs. The chosen CSI driver is then built, tested and documented inside your own infrastructure, so your team can operate it after handover.

How we scope

  • The written scope lists each workload, its access mode needs, and whether it requires snapshots or expansion.
  • Scope records the infrastructure you control, including array models, disks, network paths and node operating systems.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • We install and configure the selected driver, such as an array vendor CSI driver, Rook with Ceph, Longhorn or OpenEBS, in your cluster.
  • We test provisioning, attachment, expansion, failure of a node or storage path, and restore from a snapshot before sign-off.
  • We set up StorageClasses and snapshot classes so each team's volumes match the tiers and reclaim policies agreed in scope.

How we hand over

  • You receive written documentation of the chosen driver, its configuration, failure behavior and the tests that were run.
  • Your operators are walked through day-two tasks such as upgrades, capacity checks and volume troubleshooting on the live system.
  • The handover includes a list of open decisions, such as backup targets and retention, that remain with your team.

How we support

  • Ongoing support, driver upgrades and continuous testing are available as a retainer after handover.
  • Upgrade planning checks the driver's compatibility with the Kubernetes minor version you run before each cluster upgrade.
  • Each quote follows from the written scope, so ask for the cost components, recurring items and assumptions listed explicitly.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.