Starting in Elasticsearch version 7.10, a new
node_roles field has been added to each Elasticsearch element in a deployment plan. The new
node_roles field is used in place of the original
node_types field when you enable a new feature such as autoscaling, or when you add a new warm and cold data tier.
When you enable one of these new features through the UI, the deployment will automatically update to use the new
If you use the Deployment API to manage your deployment, there are a few important things to note:
When migrating from
node_roles, it is not possible to go back to using
The Elasticsearch topology elements must either all use
node_typeor all use
node_rolesfield is supported only on Elasticsearch version 7.10 and above.
The deployment templates have been updated to also include other elements (for example,
topology_element_controller). These elements should also be sent when updating the deployment through the API.