Prevent shard in specific node

Hello everyone,

how to prevent shard in specific node because I need add all nodes in the cluster but there is specific node RAM and CPU limitation, how to handle this approach and what is best practice to make this

thank you.

Use allocation filtering - Index-level shard allocation filtering | Elasticsearch Guide [8.5] | Elastic and/or Cluster-level shard allocation and routing settings | Elasticsearch Guide [8.5] | Elastic

1 Like

Thank you for replaying,
based on your share of data I use that.

PUT _cluster/settings
  "persistent" : {
    "cluster.routing.allocation.exclude._ip" : "XX.XX.XX.XX"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.