helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Automatic shard allocation awareness via the HELM chart values

Open Djeezus opened this issue 1 year ago • 3 comments

'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

Djeezus avatar Jul 04 '23 10:07 Djeezus

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

jordarlu avatar Jul 10 '23 18:07 jordarlu

any news on this issue ?

Djeezus avatar Oct 16 '23 07:10 Djeezus

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

kinoute avatar Dec 03 '23 21:12 kinoute