Is your feature request related to a problem? Please describe.
When a user wants to remove node out of the cluster, there is no easy way to move the ongoing tasks and index shards to other nodes. Also shards should not be migrated to the node being removed out of the cluster.
Describe the solution you'd like
Provide an API to safely shutdown nodes