Skip to content

Memory and CPU usage of operator in practice #1055

Answered by Zerpet
kriswuollett asked this question in Q&A
Discussion options

You must be logged in to vote

We changed the default resource requests/limits based on experimentation. Our goals were to be able to handle 50 RabbitMQ instances at any given time. In the initial resource requests, our Operator was getting killed because it consumed over the memory limit, and at some point, the creation of RabbitMQ instances stalled. The current resource requests are able to handle this scenario.

The Operator is not single threaded, however. The Reconcile() function can run in parallel, for example, when 2+ instances of RabbitmqCluster are applied at the same time. Another example of parallel run is when a reconcile is requeued for some reason, and another RabbitmqCluster object receives an update.

Ba…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kriswuollett
Comment options

Answer selected by kriswuollett
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants