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
168 stars 227 forks source link

[BUG][opensearch] Can't define nodeGroup to be coordinating only #576

Open brgsousa opened 4 weeks ago

brgsousa commented 4 weeks ago

Describe the bug Installing a helm chat opensearch version 2.17.0, I try to brake the cluster into different pieces: coordinating, clustermanager, hot data and warm data, similar to what is described in https://opensearch.org/docs/latest/tuning-your-cluster/ . But the coordinating nodegroup act as data node as well, when it shouldn't!

To Reproduce Steps to reproduce the behavior:

  1. Install four helm charts opensearch version 2.17.0. These are snippets of values.yaml below Clustermanager nodegroup: roles: ["master"] Coordinating nodegroup: roles: [] Hot data nodegroup: roles: ["ingest" , "data"] Warm data nodegroup: roles: ["ingest" , "data"]

  2. Create new index.

  3. Index is created considering "Hot data nodegroup", "Warm data nodegroup" and "Coordinating nodegroup" as nodes to scatter shards.

Expected behavior Coordinating nodegroup should behave as only coordinating, not as data as well.

Chart Name opensearch version 2.17.0

Host/Environment (please complete the following information):

prudhvigodithi commented 2 weeks ago

[Triage] Hey @brgsousa there is issue related to this topic in core repo https://github.com/opensearch-project/OpenSearch/issues/3412, the is fix in the main branch but not back ported yet, once backported and released (mostly for 3.0.0 OpenSearch release), using the [] should support in helm chart. Thanks