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

Keycloak derives memory settings from container limit #719

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

ahus1
Copy link
Contributor

@ahus1 ahus1 commented Feb 16, 2024

Relates to keycloak/keycloak#27078

The 300 MB no-heap usage are a preliminary value with manual tests on OpenShift. We'll need to watch the nightly tests to confirm that value.
In my tests I've seen values up to 240 MB, and 300 MB is assumed to be on the safe side.

@ahus1 ahus1 self-assigned this Feb 16, 2024
@ahus1 ahus1 marked this pull request as ready for review February 16, 2024 11:41
@kami619 kami619 self-requested a review February 18, 2024 12:43
{{ if .Values.cpuLimits }}cpu: "{{ .Values.cpuLimits }}"{{end}}
{{ if .Values.memoryLimitsMB }}memory: "{{ .Values.memoryLimitsMB }}M"{{end}}
# end::keycloak[]
# readinessProbe:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to leave the trace for probes for future use ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, we can keep that.

Copy link
Contributor

@kami619 kami619 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apart from the comments I made, this looks good to me.

Relates to keycloak/keycloak#27078

Co-authored-by: Kamesh Akella <kakella@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
@ahus1 ahus1 force-pushed the resource-limits-based-on-percentage branch from 0986c80 to 8471454 Compare February 19, 2024 07:40
@ahus1 ahus1 merged commit b209fae into keycloak:main Feb 19, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants