In a Kubernetes to Red Hat® OpenShift® migration, your PVC and pod volume manifests carry over, while the CSI driver, its permissions, the StorageClasses and snapshot classes that name it, and the data on your volumes have to be rebuilt or moved. PersistentVolumeClaims (PVCs) and StorageClasses are core Kubernetes API objects. VolumeSnapshot objects are custom resources, so the new cluster needs the snapshot CRDs and controller before they work. Volumes live in a storage backend, which does not move when you apply a manifest.
This post is for platform teams moving stateful workloads from a vanilla estate (kubeadm, Amazon EKS, Rancher, or self-built) onto OpenShift. It covers each part of the storage layer and the choices for moving the data. If you are coming from VMware® instead, the storage decisions in the Migration Toolkit for Virtualization are a separate topic.
Storage in a Kubernetes to OpenShift migration: what carries over and what you rebuild
The table labels each part of the storage layer as carries over, rebuild, or move, and says what you do with it.
| Part of the storage layer | Bucket | What you do |
|---|---|---|
| PVC and pod volume manifests | Carries over | Check storageClassName, then apply them |
| StorageClass manifests | Rebuild | Edit the provisioner and parameters for the new driver, then create them after it is installed |
| VolumeSnapshot manifests | Carries over | Check that the snapshot CRDs and controller exist on the new cluster |
| VolumeSnapshotClass manifests | Rebuild | Set driver to the new CSI driver and create them after it is installed |
| Snapshot contents on the old backend | Rebuild | Take new snapshots after cutover |
| CSI driver and its sidecars | Rebuild | Install the driver for your new backend |
| Driver permissions | Rebuild | Grant what the driver needs under OpenShift’s security model |
| Default StorageClass | Rebuild | Decide which class is the default |
| Data on the volumes | Move | Copy, restore, or re-attach |
PVC manifests carry over, and StorageClass and snapshot manifests need edits and CRDs
PVCs and StorageClasses are core Kubernetes API objects, so a PVC stays valid on the new cluster, while a StorageClass is valid only once its provisioner names the new driver. VolumeSnapshot, VolumeSnapshotContent, and VolumeSnapshotClass are CRDs rather than core API, and the Kubernetes documentation makes installing the CRDs and the snapshot controller the distribution’s responsibility. Check that they exist before you apply snapshot manifests.
Most storage edits to your Helm charts and StatefulSet templates are the class name. Also check access modes and any VolumeSnapshotClass names, because they depend on the new driver.
A claim with no class uses the default StorageClass, and Kubernetes picks the most recently created default if several exist. The default on your new cluster may not be the one your source cluster had, so list the classes and set the class name explicitly in manifests you care about.
A StorageClass names its provisioner, and the claim stays pending if that driver is not installed. Snapshot support is also a driver feature: the driver must implement snapshots itself.
The CSI driver and its permissions are rebuilt
The CSI driver you ran on the source cluster is a deployment on that cluster, so it is not part of your manifests. You install the driver for your new backend on OpenShift, and the StorageClass that points at it comes after.
OpenShift enforces security context constraints (SCCs), so a storage driver that touches host devices needs more than an ordinary workload gets. For simplyblock, the OpenShift installation page for release 26.3 says OpenShift requires explicitly granting the privileged SCC to the service accounts so storage and SPDK operations can run. Whatever driver you choose, read its OpenShift instructions for the SCC grants it needs.
The simplyblock software requirements list OpenShift 4.19 and later. Confirm the pairing for your OpenShift release before you plan a window.
Moving the data: three paths
You move the data with one of three paths per workload: application-level copy, backup and restore, or re-attaching the same backend. Pick by what the application tolerates, because no manifest moves bytes.
Application-level copy uses the application’s own replication or dump and restore: a database standby, a logical dump, or a message-queue mirror. Choose it when the application already has a replication story and you want a short, rehearsed cutover.
Backup and restore backs up the namespace and its volumes on the source cluster, then restores into OpenShift with a backup tool that works on both clusters (see what Velero is). Choose it when you have many small workloads and can accept downtime per application. The restore target uses the new StorageClass, so map class names during the restore.
Re-attaching the same backend relies on Kubernetes letting an administrator create a PersistentVolume by hand and bind it to a claim with claimRef, while the Retain reclaim policy keeps the underlying storage asset when a claim is deleted. Choose it only when the backend is reachable from both clusters and the new driver can import an existing volume, which is a question for that driver’s documentation. Never let two clusters write to one volume.
A VolumeSnapshot is a request, and the data it points to sits in the storage system behind the old driver. Treat the old snapshots as restore points on the source side, and take fresh ones on the new cluster after cutover. The Kubernetes volume snapshot documentation explains how snapshot objects relate.
The full task, end to end:
- Inventory StorageClasses, provisioners, access modes, reclaim policies, snapshots, and the default class on the source cluster.
- Install the new backend on OpenShift and grant the permissions it documents. That means its CSI driver and, for a backend that runs its own storage cluster, the storage nodes.
- Create the StorageClass and, if needed, set it as the default.
- Move the data for one workload with the path you chose, then start the workload on OpenShift.
- Take a snapshot, restore it to a scratch claim, and confirm the application reads it.
- Retire the old volumes only after the restore test passes.
How simplyblock fits at the driver step
At the driver step, simplyblock supplies the block storage layer that the new StorageClass points to, installed on OpenShift through the simplyblock Operator and consumed through its CSI driver. The install has an order: grant the privileged SCC, install the Operator, deploy the storage cluster on the worker nodes you enrol, then create a StoragePool. The Operator deploys the CSI driver itself, and the pool’s StorageClass can receive data only after the cluster is active. The installation steps are in the docs.
Not every worker node has to host storage components. simplyblock uses node labels to identify the nodes that join the storage cluster, so you can isolate storage on dedicated workers or a node pool.
The Operator creates the StorageClass, named simplyblock-<namespace>-<clusterName>-<poolName>, once a StoragePool becomes active, and the class carries the volume defaults, such as QoS limits, encryption, and filesystem type. Kubernetes does not allow StorageClass parameters to change after creation, so the pool’s storageClassParameters are fixed once it exists; a different default means a new pool. The erasure coding scheme is set once at cluster creation and applies to every volume, so choose it before you move data.
Day-two work uses the standard Kubernetes API. Snapshots are taken with a VolumeSnapshot and restored by naming it as the dataSource of a new claim. Clones work the same way with a claim as the source. Volumes grow online when the class sets allowVolumeExpansion, and a volume cannot be shrunk. For a smaller volume, create a new, smaller claim and copy the data across.
Red Hat’s Ecosystem Catalog lists simplyblock’s NVMe/TCP storage platform as certified. The listing covers the CSI driver and Operator integration, and the vendors support their own pieces: Red Hat supports OpenShift, and simplyblock supports its storage, CSI driver, and Operator. A certification does not approve your architecture or promise a performance result, so test your own workload.