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 badges1 Answer
Reset to default 0You 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
版权声明:本文标题:google cloud platform - GKE Container memory alerting in percentage - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736578740a1944913.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论