How to delete all DG 8's objects in OCP 4?

Solution Verified - Updated

Environment

  • Red hat OpenShift Container Platform (OCP)
    • 4.x
  • Red Hat Data Grid (RHDG)
    • 8.x

Issue

How to delete all DG 8's objects in OCP 4?

Resolution

The following command: oc -n rhdg delete infinispan,cache deletes all objects in the namespace.
This is related to DG 8 project does not get deleted

Root Cause

When an upgrade issue happens, it might be necessary to delete all the infinispan objects in a namespace, so one can use the command above.

Product(s)
Components
Category
Tags

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.