Topic 1 Question 156
Your company runs applications in Google Kubernetes Engine (GKE). Several applications rely on ephemeral volumes. You noticed some applications were unstable due to the DiskPressure node condition on the worker nodes. You need to identify which Pods are causing the issue, but you do not have execute access to workloads and nodes. What should you do?
Check the node/ephemeral_storage/used_bytes metric by using Metrics Explorer.
Check the container/ephemeral_storage/used_bytes metric by using Metrics Explorer.
Locate all the Pods with emptyDir volumes. Use the df -h command to measure volume disk usage.
Locate all the Pods with emptyDir volumes. Use the df -sh * command to measure volume disk usage.
ユーザの投票
コメント(7)
- 正解だと思う選択肢: B
I think the answer is B. You need to use container/ephemeral_storage/used_bytes because you need to identify the pod that is causing the problem. pod/ephemeral_storage/used_bytes also exists, but it is still in beta. https://cloud.google.com/monitoring/api/metrics_kubernetes
👍 3YushiSato2023/11/06 - 正解だと思う選択肢: B
This approach provides the necessary detail to identify which Pods are causing the DiskPressure condition without the need for direct access to the nodes or the ability to execute commands on them. Metrics Explorer in Google Cloud's operations suite (formerly Stackdriver) allows you to query and visualize metrics from your GKE environment, making it a powerful tool for this kind of diagnostic task.
👍 2mshafa2023/11/12 - 正解だと思う選択肢: B
To identify which Pods are causing the DiskPressure node condition due to ephemeral volumes, you should check the container/ephemeral_storage/used_bytes metric using Metrics Explorer.
Therefore, the correct answer is B.
This metric provides information about the ephemeral storage usage of containers within Pods. By examining this metric, you can identify the specific Pods that are contributing to the DiskPressure condition on the worker nodes. Metrics Explorer allows you to visualize and analyze metrics data, making it a suitable tool for investigating resource usage and identifying potential issues in a GKE environment.
👍 2xhilmi2023/12/07
シャッフルモード