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

Merged
merged 1 commit 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.
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 851ac6f into main Jan 2, 2024
3 checks passed
@antoinebhs antoinebhs deleted the add-es-container-env-vars branch January 2, 2024 16:37
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