A newer version is available. For the latest information, see the
current release documentation.
node_filters
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
node_filters
editThis setting is only used by the shrink action.
action: shrink
description: >-
Shrink selected indices on the node with the most available space.
Allow master/data nodes to be potential shrink targets, but exclude
'named_node' from potential selection.
options:
shrink_node: DETERMINISTIC
node_filters:
permit_masters: True
exclude_nodes: ['named_node']
filters:
- filtertype: ...
There is no default value for node_filters.
The current sub-options are as follows:
permit_masters
editThe permit_masters sub-option has a default value of False. If you have a small cluster
with only master/data nodes, you must set permit_masters to True in order to select one
of those nodes as a potential shrink_node.
exclude_nodes
editThis option provides means to exclude nodes from selection when using DETERMINISTIC
as the value for shrink_node. It should be noted that you can
use a named node for shrink_node and then exclude it here, and
it will prevent a shrink from occurring.