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

Add environment variable for embedded ES container #126

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

antoinebhs
Copy link
Collaborator

@antoinebhs antoinebhs commented Jan 2, 2024

  • Add same environment variables for the embedded elastic search container as in docker-compose.
  • Limit the memory (Xms/Xmx) to 128m because since ES 7.11.0, heap settings are based on node roles and total system memory #65905. Heap memory default values are computed as :
    50% of total system memory when greater than 1 gigabyte up to a maximum of 31 gigabytes
    cf. gridsuite/deployment@42d4372.
    We cannot accept to allocate 16Go for an embedded ES.

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

* Add same environment variables for the embedded elastic search container as in docker-compose.
* Limit the memory (Xms/Xmx) to 128m.

Signed-off-by: BOUHOURS Antoine <antoine.bouhours@rte-france.com>
@antoinebhs antoinebhs force-pushed the add-es-container-env-vars branch from e120ecd to b81a0fb Compare January 2, 2024 13:31
Copy link

sonarqubecloud bot commented Jan 2, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@antoinebhs antoinebhs merged commit e0c0c09 into main Jan 2, 2024
4 checks passed
@antoinebhs antoinebhs deleted the add-es-container-env-vars branch January 2, 2024 16:39
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.

3 participants