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

huangapple go评论52阅读模式
英文:

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

问题

Google Kubernetes Engine(GKE)上运行的一个Pod中,其中一个容器挂载了一个指向持久卷(使用NFS存储类)的PVC。是否有一种通过Google Cloud控制台检查持久卷内容的方法?

英文:

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?

答案1

得分: 1

你可以通过SSH登录到其节点来查看持久磁盘内部的内容。所有持久磁盘都需要附加到实例上才能访问它们。

或者,如果你正在使用Filestore实例作为持久卷,你也可以查阅此文档

英文:

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.

huangapple
  • 本文由 发表于 2023年6月2日 03:03:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/76384959.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定