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 #410

Merged
merged 2 commits into from
Jan 2, 2024

Conversation

antoinebhs
Copy link
Contributor

@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.

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

Signed-off-by: Antoine Bouhours <[email protected]>
Signed-off-by: BOUHOURS Antoine <[email protected]>
@antoinebhs antoinebhs force-pushed the add-es-container-env-vars branch from 84ac12a to 9ece0e0 Compare January 2, 2024 13:18
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 017f692 into main Jan 2, 2024
3 checks passed
@antoinebhs antoinebhs deleted the add-es-container-env-vars branch January 2, 2024 16:38
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