1

Consider a pod, whose one of the containers mount a PVC that points to a persistent volume (using NFS storage class). All of it is running over Google Kubernetes Engine. Is there a way to inspect the content of the persistent volume via Google Cloud Console?

brandizzi
  • 26,083
  • 8
  • 103
  • 158
  • I asked this question because I wanted to give our QA team a straightforward way to investigate a volume, and asking them to deploy a new container with arbitrary code does not sound great. But I don't think what I wanted was possible (I could deploy some kind of volume explorer, but would not be easy) so I gave up. – brandizzi Aug 01 '23 at 23:18

1 Answers1

1

You can check what's inside the Persistent Disk via SSH onto its node. As all Persistent Disks are needed to be attached to an instance to have access to them.

Or you can also check this documentation if you are using Filestore instances as Persistent Volumes.

Siegfred V.
  • 1,143
  • 3
  • 12