How to identify PVCs that are still being used for every pod in OpenShift Container Platform 4.

Solution Verified - Updated -

Issue

Find all PVCs being used by pods in the namespace. Identifying PVCs that are still being used for every pod can be necessary for several reasons like resource management, as unused PVCs consume storage resources unnecessarily. Identifying and reclaiming unused PVCs can help in optimizing resource utilization.

Environment

  • Red Hat OpenShift Container Platform 4 [RHOCP]

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