Javier Guzmán
Javier Guzmán

Reputation: 1153

How can I check boot disk size consumption used in GKE?

I have been using a GKE cluster with 10GB of boot disk size for my pods. Yesterday, I have added two more pods and I have been getting warnings of node under disk pressure.

I have read this might be due to the 10GB and I would like to know how to check what it is using this space. I do not have a very high number of pods and I have persistent volume claims which use a different space so I do not understand what it is consuming more than 10GB.

Thank you in advance and regards.

Upvotes: 2

Views: 2011

Answers (1)

dany L
dany L

Reputation: 2654

In order to a sense of which pods are taking space you might use the following metric

pod/volume/utilization

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.

Menu > Monitoring > Metrics explorer > resource type kubernetes pod (k8s) > Metric Volume Utilization

Upvotes: 2

Related Questions