elasticsearch/docs/reference/ilm
Andrei Dan 3087f164f7
Migrate legacy/v2/component templates away from custom attributes routing (#82472)
This enhances the migrate to data tiers routing API to also iterate over
the existing legacy, composable, and component templates and look if
they define a custom node attribute routing in their settings for either
`index.routing.allocation.require.{nodeAttrName}` or
`index.routing.allocation.include.{nodeAttrName}`. If any does, we
update them to remove all the routings settings for the provided
`nodeAttrName`.

eg. any template with the following setting configuration:
```
"settings": {
  index.routing.allocation.require.data: "warm",
  index.routing.allocation.include.data: "rack1",
  index.routing.allocation.exclude.data: "rack2,rack3"
}
```
will have its settings updated to:
```
"settings": {}
```
2022-01-13 10:45:10 +00:00
..
actions [DOC] Don't include searchable snapshot ILM action in both hot and cold phases (#82013) 2022-01-04 12:37:05 -05:00
apis Migrate legacy/v2/component templates away from custom attributes routing (#82472) 2022-01-13 10:45:10 +00:00
error-handling.asciidoc Expose the index age in ILM explain output. (#81273) 2021-12-13 15:38:25 +01:00
example-index-lifecycle-policy.asciidoc [DOCS] Move ES glossary to Stack docs (#74579) 2021-06-24 19:04:31 -04:00
ilm-actions.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00
ilm-and-snapshots.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00
ilm-concepts.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00
ilm-index-lifecycle.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00
ilm-overview.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00
ilm-skip-rollover.asciidoc [DOCS] Update alias xrefs (#73380) 2021-05-25 16:19:00 -04:00
ilm-tutorial.asciidoc Expose the index age in ILM explain output. (#81273) 2021-12-13 15:38:25 +01:00
ilm-with-existing-indices.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00
index-rollover.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00
index.asciidoc [DOCS] Overhaul snapshot and restore docs (#79081) 2021-11-15 12:45:07 -05:00
set-up-lifecycle-policy.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00
start-stop.asciidoc [DOCS] Overhaul snapshot and restore docs (#79081) 2021-11-15 12:45:07 -05:00
update-lifecycle-policy.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00