node_filtersedit

Note

This 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_mastersedit

Important

The 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_nodesedit

This 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.