Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not set resources limits by default
I've experienced issues in the past where MetalLB was throttled for 15s and then replying to all previous ARP request at the same time. MetalLB is the entry point of the cluster, if it's not working everything else in the cluster is useless, so let's just not set limits. Signed-off-by: Etienne Champetier <echampetier@anevia.com>
- Loading branch information
ed1d259
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the resorces results in the containesrs running only with best effort and is something you really don't want to have on a cluster with high load.
Wouldn't it be better to set additional requests to reserve CPU and memory to avoid such situations?
E.g. I'm using this values on a high load dev cluster with arp and in another location with bgb.
ed1d259
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can set limits if you want, but 100m was too small for me / causing prod issue. We can't provide sane CPU limits that fits everyone so better leave it to the users.