Skip to content

Commit

Permalink
PI-2573 Use LS_JAVA_OPTS instead of JDK_JAVA_OPTIONS in Logstash
Browse files Browse the repository at this point in the history
Before:
```
JVM bootstrap flags: [-XX:MaxRAMPercentage=75.0, -Xms1g, -Xmx1g, ...
```

After:
```
JVM bootstrap flags: [-Xms1g, -Xmx1g, ..., -Xms3g, -Xmx3g, ...
```
  • Loading branch information
marcus-bcl committed Oct 10, 2024
1 parent 7854f5a commit be88772
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ spec:
env:
- name: AWS_REGION
value: eu-west-2
- name: JDK_JAVA_OPTIONS
value: -XX:MaxRAMPercentage=75.0
- name: LS_JAVA_OPTS
value: -Xms3g -Xmx3g # = 75% of pod memory limit (see above)
- name: SENTRY_ENVIRONMENT
value: {{ .Values.reindexing.sentry_environment }}
- name: CONTACT_INDEX_PREFIX
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ spec:
env:
- name: AWS_REGION
value: eu-west-2
- name: JDK_JAVA_OPTIONS
value: -XX:MaxRAMPercentage=75.0
- name: LS_JAVA_OPTS
value: -Xms3g -Xmx3g # = 75% of pod memory limit (see above)
- name: SENTRY_ENVIRONMENT
value: {{ .Values.reindexing.sentry_environment }}
- name: PERSON_INDEX_PREFIX
Expand Down
3 changes: 2 additions & 1 deletion projects/person-search-index-from-delius/deploy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ generic-service:
CONTACT_INDEX_PREFIX: contact-search
PERSON_INDEX_PREFIX: person-search
PIPELINES_ENABLED: person-incremental,contact-incremental
JDK_JAVA_OPTIONS: -XX:MaxRAMPercentage=75.0
JDK_JAVA_OPTIONS: ''
LS_JAVA_OPTS: -Xms1536m -Xmx1536m # = 75% of pod memory limit (see above)

namespace_secrets:
common:
Expand Down

0 comments on commit be88772

Please sign in to comment.