Skip to content
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

Defaults for container memory limit #766

Open
ubrt opened this issue Apr 30, 2024 · 0 comments
Open

Defaults for container memory limit #766

ubrt opened this issue Apr 30, 2024 · 0 comments

Comments

@ubrt
Copy link

ubrt commented Apr 30, 2024

Starting with Keycloak V24, the heap memory is calculated dynamically based on the available memory or memory limit for the container. If no limit is set, this may lead to instability on the workers.

"As the heap size is dynamically calculated based on the total container memory, you should always set the memory limit for the container. Previously, the maximum heap size was set to 512 MB, and in order to approach similar values, you should set the memory limit to at least 750 MB. For smaller production-ready deployments, the recommended memory limit is 2 GB."

See: keycloak/keycloak@34ab2b6

I therefore suggest setting some defaults for the resource limits:

https://github.com/codecentric/helm-charts/blob/master/charts/keycloakx/values.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant