-
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
Changes from all commits
32ae5c7
7dbee0e
8c8c64e
980a454
307bcb8
370d349
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more. The number seems based on default @moabu do we want user to override this setting manually or pre-calculated from its There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 . |
||
# -- App loggers can be configured to define where the logs will be redirected to and the level of each in which it should be displayed. | ||
# log levels are "OFF", "FATAL", "ERROR", "WARN", "INFO", "DEBUG", "TRACE" | ||
# Targets are "STDOUT" and "FILE" | ||
|
@@ -176,6 +178,8 @@ global: | |
fido2: | ||
# -- Boolean flag to enable/disable the fido2 chart. | ||
enabled: false | ||
# -- passing custom java options to fido2. | ||
gluuCustomJavaOptions: "-XX:MaxDirectMemorySize=500m -Xmx200m" | ||
# -- App loggers can be configured to define where the logs will be redirected to and the level of each in which it should be displayed. | ||
# log levels are "OFF", "FATAL", "ERROR", "WARN", "INFO", "DEBUG", "TRACE" | ||
# Targets are "STDOUT" and "FILE" | ||
|
@@ -193,6 +197,8 @@ global: | |
scim: | ||
# -- Boolean flag to enable/disable the SCIM chart. | ||
enabled: false | ||
# -- passing custom java options to scim. | ||
gluuCustomJavaOptions: "-XX:MaxDirectMemorySize=1000m -Xmx700m" | ||
# -- App loggers can be configured to define where the logs will be redirected to and the level of each in which it should be displayed. | ||
# log levels are "OFF", "FATAL", "ERROR", "WARN", "INFO", "DEBUG", "TRACE" | ||
# Targets are "STDOUT" and "FILE" | ||
|
@@ -238,7 +244,7 @@ global: | |
# -- Boolean flag to enable/disable the oxtrust chart. | ||
enabled: true | ||
# -- passing custom java options to oxTrust. | ||
gluuCustomJavaOptions: "-XshowSettings:vm -XX:MaxRAMPercentage=80" | ||
gluuCustomJavaOptions: "-XshowSettings:vm -XX:MaxRAMPercentage=80 -XX:MaxDirectMemorySize=2500m -Xmx2200m" | ||
# -- App loggers can be configured to define where the logs will be redirected to and the level of each in which it should be displayed. | ||
# log levels are "OFF", "FATAL", "ERROR", "WARN", "INFO", "DEBUG", "TRACE" | ||
# Targets are "STDOUT" and "FILE" | ||
|
@@ -299,8 +305,8 @@ global: | |
oxshibboleth: | ||
# -- Boolean flag to enable/disable the oxShibbboleth chart. | ||
enabled: false | ||
# -- passing custom java options to oxShibboleth. Notice you do not need to pass in any loggers optoins as they are introduced below in appLoggers. | ||
gluuCustomJavaOptions: "" | ||
# -- passing custom java options to oxShibboleth. Notice you do not need to pass in any loggers options as they are introduced below in appLoggers. | ||
gluuCustomJavaOptions: "-XX:MaxDirectMemorySize=1000m -Xmx700m" | ||
# -- App loggers can be configured to define where the logs will be redirected to and the level of each in which it should be displayed. | ||
# log levels are "OFF", "FATAL", "ERROR", "WARN", "INFO", "DEBUG", "TRACE" | ||
# Targets are "STDOUT" and "FILE" | ||
|
@@ -337,6 +343,8 @@ global: | |
oxd-server: | ||
# -- Boolean flag to enable/disable the oxd-server chart. | ||
enabled: true | ||
# -- passing custom java options to oxd-server. | ||
gluuCustomJavaOptions: "-XX:MaxDirectMemorySize=400m -Xmx100m" | ||
# -- App loggers can be configured to define where the logs will be redirected to and the level of each in which it should be displayed. | ||
# log levels are "OFF", "FATAL", "ERROR", "WARN", "INFO", "DEBUG", "TRACE" | ||
# Targets are "STDOUT" and "FILE" | ||
|
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 .