开发者

Is there a way to measure CPU usage inside the Kubernetes POD?

开发者 https://www.devze.com 2022-12-07 18:50 出处:网络
In CNF world, measuring the CPU usage on a POD with usual commands for example, top command doesnot actually provide the POD\'s actual CPU usage, instead it will be like you run it on the host system/

In CNF world, measuring the CPU usage on a POD with usual commands for example, top command doesnot actually provide the POD's actual CPU usage, instead it will be like you run it on the host system/node because the pod is using kernel of the host system.

We have to periodically monitor the CPU usage inside the POD and throttle the traffic. Is there a way to measure the CPU usage 开发者_如何转开发inside the POD?

top command doesnot actually provide the POD's actual CPU usage, instead it provides the host system/node usage, because the pod is using kernel of the host system.

0

精彩评论

暂无评论...
验证码 换一张
取 消