简体   繁体   English

HPA 计算与 CPU 和 memory 利用率不匹配

[英]HPA calculation is not matching for cpu and memory utilization

Below are my HPA profile, Pods and nodes usages.以下是我的 HPA 配置文件、Pod 和节点使用情况。 I want to understand how the CPU is crossing 85%.我想了解 CPU 是如何超过 85% 的。

How is the CPU utilization is being calculated here?此处的 CPU 利用率如何计算? When I have only 46 pods and each one of them not crossing max 10m cpu?当我只有 46 个 pod 并且每个都没有超过最大 10m cpu 时?

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

metrics-server pulls from the embedded cadvisor in each Kubelet. metrics-server从每个 Kubelet 中的嵌入式 cadvisor 中提取。 It polls every 60 seconds by default and the CPU usage is looking a total CPU usage seconds over the last few time periods as a fraction of wall clock elapsed time.默认情况下,它每 60 秒轮询一次,CPU 使用率将过去几个时间段内的总 CPU 使用率秒数视为挂钟经过时间的一小部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM