-
Notifications
You must be signed in to change notification settings - Fork 26
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
feat: add java memory arguments to services #627
Conversation
Example error: spec.template.spec.hostAliases.ip: Invalid value: "": must be valid IP address
@@ -135,6 +135,8 @@ global: | |||
oxauth: | |||
# -- Boolean flag to enable/disable oxauth chart. You should never set this to false. | |||
enabled: true | |||
# -- passing custom java options to oxauth. | |||
gluuCustomJavaOptions: "-XX:MaxDirectMemorySize=2500m -Xmx2200m" |
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.
The number seems based on default resources.limits.
.
@moabu do we want user to override this setting manually or pre-calculated from its resources.limits.
attributes ?
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.
Pre calculate based on each services resource limits. Otherwise , this will defeat the purpose of the resource limits defined .
*/}} | ||
{{- define "fido2.customJavaOptions"}} | ||
{{ $custom := "" }} | ||
{{- if .Values.global.fido2.gluuCustomJavaOptions }} |
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.
This comment applies to all services .
You need to set the Java settings directly in the Java options env pre calculated from the resource limits not through a variable in the values.yaml as that will clash with the resource definitions .
No description provided.