Version: SG FLX
Community
This is a Technical Preview and should not yet be used in production.
Allocation Action
Content
This action configures nodes allowed to host the index. There are three optional configuration options to set allowed nodes. At least one of the configuration options has to be set.
Parameters
Parameter | Optional | Note |
---|---|---|
exclude |
true | Allow index only on nodes that have none of the specified attributes |
include |
true | Allow index only on nodes that have at least one of the specified attributes |
require |
true | Allow index only on nodes that have all of the specified attributes |
Example
{
"steps": [
...
{
"name": "my-step",
"conditions": [ ... ],
"actions": [
...
{
"type": "allocation",
"require": {
"box_type": "my-custom-box-type"
}
},
...
]
},
...
]
}