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

Automatic shard allocation awareness via the HELM chart values #448

Open Djeezus opened 1 year ago

Djeezus commented 1 year ago

'lo all,

I'm trying to implement shard allocation awareness via the HELM chart (v2.13.1) It looks as though there is no explicit section in the values file to address this, or maybe I'm missing somehting ?

I have set the "cluster.routing.allocation.awareness" parameters in the HELM's "config:" section of the master-nodegroup as such: cluster.routing.allocation.awareness.attributes: zone cluster.routing.allocation.awareness.force.zone.values: zone1, zone2, zone3

I'm using antiAffinityTopologyKey label to spread opensearch nodes, this works just fine, but how do I now get the correct value dynamically into the data-nodes-group' "node.attr.zone" attribute when they're deployed ? I understand there is no direct way to get node-labels (downward API) exposed in PODs, but maybe someone has another way of doing this ?

thnx & grtz

jordarlu commented 1 year ago

thanks for sending the issue, @Djeezus .. @prudhvigodithi , please have a review, and provide your feedback,, thanks

Djeezus commented 11 months ago

any news on this issue ?

kinoute commented 10 months ago

Interested by this as well. Being able to fully customize Opensearch for Multi A-Z through the helm chart will be nice.