-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase cpu limits for postgres #636
Increase cpu limits for postgres #636
Conversation
This reverts commit 453ef72. If we don't set cpu limits then default limits appear (500m). We need more than this in different pods, thus I keep the limits and increase it even for postgres.
Today we were above 1 cpu usage. Let put here the max we can. I also slightly increased valkey and pushgateway since sometimes we are close to the limit (looking at metrics).
The host key is not saved in the template anymore (for security reasons). Skip checking differences in this key between template and local file.
Build succeeded. ✔️ pre-commit SUCCESS in 1m 27s |
When conditionalizing the templates for volume claim, do not create even an empty object when it's not defined. Better to avoid it altogether than nesting something by mistake. Signed-off-by: Matej Focko <[email protected]>
URL contains colon for the protocol, quote it to prevent YAML parsing issues. Signed-off-by: Matej Focko <[email protected]>
Build succeeded. ✔️ pre-commit SUCCESS in 1m 27s |
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.
we could increase the CPU limit to 2 (the max allowed by cluster iiuc) also for other pods if needed, but from the metrics it looks like those are usually not problematic
yes, I discussed the same with @mfocko and we agreed that we should be ok with this limits for now 🤞🏻. |
Build succeeded. ✔️ pre-commit SUCCESS in 1m 26s |
e120365
to
972d20a
Compare
Build succeeded. ✔️ pre-commit SUCCESS in 1m 28s |
Build succeeded (gate pipeline). ✔️ pre-commit SUCCESS in 1m 33s |
If we don't set cpu limits they are being set by default (500m) but this value is too low for some of our pods.
Keep cpu limits.
Increase postgres cpu limit.