kubernetesgoogle-kubernetes-enginegoogle-cloud-console

Is there a way to inspect the files inside a PersistentVolume from GKE by using Google Cloud Console?


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?


Solution

  • 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.