pires / kubernetes-elasticsearch-cluster

Elasticsearch cluster on top of Kubernetes made easy.
Apache License 2.0
1.51k stars 690 forks source link

how to set attributes #232

Closed bw2 closed 5 years ago

bw2 commented 5 years ago

What's the right way to pass attributes like -Enode.attr.rack_id=rack_one to elasticsearch instances?

(I'd like to tag instances as described in https://www.elastic.co/guide/en/elasticsearch/reference/current/allocation-awareness.html)

bw2 commented 5 years ago

nvm, I realized I can just use the _name, or _host attributes to move shards
(https://stackoverflow.com/questions/52467394/unable-to-move-shards-using-cluster-routing-allocation/52468107#52468107)