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

Tweak default JAVA_OPTIONS for hyades initializer #174

Merged
merged 1 commit into from
Oct 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions charts/hyades/templates/initializer/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ spec:
{{- end }}
resources: {{- toYaml .Values.initializer.resources | nindent 10 }}
env:
# Clear the defaults for garbage collector and heap size that we set in the API server's Dockerfile.
# Let the JVM deal with configuring itself appropriately for the available resources.
# The default JVM options of the image are optimized for the API server,
# i.e. longer runtime and larger heaps. Provide JVM options that are more
# suitable for one-off executions with fewer available resources.
- name: JAVA_OPTIONS
value: ""
value: "-Xmx256m -XX:+UseSerialGC -XX:TieredStopAtLevel=1"
- name: INIT_TASKS_ENABLED
value: "true"
- name: INIT_AND_EXIT
Expand Down
Loading