opensearch-project / helm-charts

:wheel_of_dharma: A community repository for Helm Charts of OpenSearch Project.
https://opensearch.org/docs/latest/opensearch/install/helm/
Apache License 2.0
170 stars 228 forks source link

Correct defaults for opensearchJavaOpts in README #570

Closed jeidsath closed 1 month ago

jeidsath commented 1 month ago

Description

Correct defaults for opensearchJavaOpts in README

Issues Resolved

https://github.com/opensearch-project/helm-charts/issues/566

Check List

For any changes to files within Helm chart directories:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

peterzhuamazon commented 1 month ago

Hi @TheAlgo @prudhvigodithi can we confirm this is the case? I do remember initially we have it as 1g/1g?

Thanks @jeidsath.

jeidsath commented 1 month ago

Hey @peterzhuamazon,

The current default setting can be seen on line 146 of values.yaml

We only noticed this because our running cluster did not match the documented default memory usage.

Rather than changing the README, it would also be an option to adjust values.yaml to match the documented default. But as this would silently double memory usage for anyone automatically upgrading their clusters (with flux, etc.), the README change seemed like a simpler option.

peterzhuamazon commented 1 month ago

Thanks @jeidsath , merged. Are you able to backport this to 1.x branch?

Thanks.

peterzhuamazon commented 1 month ago

nvm, I backported: https://github.com/opensearch-project/helm-charts/pull/571

Thanks.