英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论