Hi - How can I rebalance primary shards on elasticsearch cluster?
Below are primary shards allocation on 5 node elastic cluster. We are seeing huge spikes on node4
6 node1 38 node2 116 node3 162 node4 35 node5
169 node1 136 node2 59 node3 12 node4 140 node5
When we look at all shards allocation on cluster nodes it looks balanced.
175 node1 174 node2 175 node3 174 node4 175 node5
I modified below it did not do anything.
cluster.routing.rebalance.enable to primaries cluster.routing.allocation.allow_rebalance to always.
I want to balance shards so that all nodes gets equal number of primary shards if possible on index level. We have around 60 indicies and each index having varying shard numbers.