bottlerocket-update-operator
bottlerocket-update-operator copied to clipboard
How many cpu/memory does brupop use
Asked by customer. Need investigate on how many cpu/memory resources does brupop use.
A nice end state here would be to add CPU and memory limits to all the pods involved.
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:
CPU is < 2.5 mcores
Memory usage is < 8MB

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

The agents of the nodes which have been updated

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)

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