esctl icon indicating copy to clipboard operation
esctl copied to clipboard

Support excluding and including nodes for cluster routing allocation

Open f9n opened this issue 2 years ago • 0 comments

Description

$ esctl operation node "<node-name-or-ip>" --exclude
$ esctl operation node "<node-name-or-ip>,...." --include

Motivation

This feature is practical for operational tasks. Maybe some elastic servers will be in maintenance mode.

Additional Context

Some examples:

  • https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-cluster.html#cluster-shard-allocation-filtering
  • https://opster.com/guides/elasticsearch/operations/elasticsearch-remove-node/

f9n avatar Jul 10 '23 14:07 f9n