我一直在为我的 pod 使用启动磁盘大小为 10GB 的 GKE 集群。昨天,我又添加了两个 pod,并且一直收到节点面临磁盘压力的警告。
我读过这可能是由于 10GB,我想知道如何检查它正在使用这个空间。我的 Pod 数量不是很多,而且我有持久卷声明,它们使用不同的空间,所以我不明白什么消耗了超过 10GB 的空间。
预先感谢您并致以问候。
最佳答案
为了了解哪些 pod 占用了空间,您可以使用以下指标
The fraction of the volume that is currently being used by the instance. This value cannot be greater than 1 as usage cannot exceed the total available volume space. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
菜单 > 监控 > 指标资源管理器 > 资源类型 kubernetes pod (k8s) > 指标卷利用率
关于google-cloud-platform - 如何检查 GKE 中使用的启动磁盘大小消耗情况?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68984209/