A newer version is available. For the latest information, see the
current release documentation.
post_allocation
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
post_allocation
editThis setting is only used by the shrink action.
action: shrink
description: >-
Shrink selected indices on the node with the most available space.
Apply shard routing allocation to target indices.
options:
shrink_node: DETERMINISTIC
post_allocation:
allocation_type: include
key: node_tag
value: cold
filters:
- filtertype: ...
The only permitted subkeys for post_allocation are the same options used by the allocation action: allocation_type, key, and value.
If present, these values will be use to apply shard routing allocation to the target index after shrinking.
There is no default value for post_allocation.