bottlerocket-update-operator icon indicating copy to clipboard operation
bottlerocket-update-operator copied to clipboard

How many cpu/memory does brupop use

Open gthao313 opened this issue 3 years ago • 1 comments

Asked by customer. Need investigate on how many cpu/memory resources does brupop use.

gthao313 avatar Sep 08 '22 17:09 gthao313

A nice end state here would be to add CPU and memory limits to all the pods involved.

bcressey avatar Sep 09 '22 03:09 bcressey

In a 10 nodes cluster, over the past 24h, when 2 nodes have been updated to the latest version, I have the following data to share.

Overall CPU and memory usage for apiserver and controller: image CPU is < 2.5 mcores Memory usage is < 8MB

image image

For the agents, we can also observe a memory usage < 8MB image CPU usage stays < 5mcores image

The agents of the nodes which have been updated image image

MiLk avatar Oct 21 '22 00:10 MiLk

Ran a similar experiment with a 3 node cluster updating from 1.9.0 to 1.10.1 using the kubernetes metrics server and the kubernetes dashboard (for simple metrics gathering)

Screen Shot 2022-10-27 at 1 22 13 PM

Over the course of the update, I got similar results:

CPU

  • Controller peaked at and idles at about ~1.00 cores
  • Api servers peak at and idle at roughly ~2.00 cores
  • Agents peak at and idle at ~1.00 cores

Memory

  • Controller peaked at and idles around ~2.75-3 Mi
  • Api servers each idle around ~3.5 Mi
  • Agents peaked at ~8 and idle around 7 Mi

jpmcb avatar Oct 27 '22 19:10 jpmcb