Migrate persistent data to another Storage Class in DG 8 Operator in OCP 4

Solution Verified - Updated -

Issue

The Persistent Volume Claim (PVC) migration of a Data Grid Infinispan cluster to a new Storage Class for a technical reason is required. Since a StatefulSet (SS) deploys the Infinispan cluster, changing the PVC names is impossible because a pattern configured in the SS sets that name. For that reason, the recreation of the PVC is needed.

In case of migration of PVs not attached on a StatefulSet follow the "How to migrate data between PVs in OpenShift 4"

Environment

  • Red Hat Openshift Container Platform (OCP) 4
  • Red Hat Data Grid Operator 8.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content