admin管理员组

文章数量:1123558

I have few workloads running in Google Kubernetes Engine. I want to monitor one of the container for memory usage. Container will have some memory allocated and when the usage goes beyond, say 80%, an alert should trigger. I tried using cloud monitoring and alerting. However for memory usage metrics, you have give the threshold in bytes. I want to give it in percentage term. alerting screenshot]1

Could someone suggest how to use percentage here. I tried using k8s_container - kubernetes.io/container/memory/request_utilization. However it is very confusing.

I have few workloads running in Google Kubernetes Engine. I want to monitor one of the container for memory usage. Container will have some memory allocated and when the usage goes beyond, say 80%, an alert should trigger. I tried using cloud monitoring and alerting. However for memory usage metrics, you have give the threshold in bytes. I want to give it in percentage term. alerting screenshot]1

Could someone suggest how to use percentage here. I tried using k8s_container - kubernetes.io/container/memory/request_utilization. However it is very confusing.

Share Improve this question asked 20 hours ago Bhabani ShankarBhabani Shankar 1,2855 gold badges22 silver badges43 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

You can add a percentage value in the rolling window function which is available in Policy configuration mode window, in that we have multiple option select percent change then you will get a percentage in the graph and you can.

After that you add 80% in the configure trigger window as shown in the image below and create an alert.

本文标签: google cloud platformGKE Container memory alerting in percentageStack Overflow