-
Notifications
You must be signed in to change notification settings - Fork 24.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nodes are set with all node roles by default #66659
Comments
Pinging @elastic/es-ui (Team:UI) |
Pinging @elastic/es-core-features (Team:Core/Features) |
This is done to optimize for the laptop experience. Removing them should only be done with careful consideration for the laptop experience. I think removing any of these roles would sacrifice that experience. In production, we expect users to set roles explicitly, regardless of the default experience. |
Thanks for your reply @jasontedor! Can you clarify what you mean by the laptop experience? I'm not familiar with this use case.
Does this imply that you think Cloud should configure deployments with a custom set of node roles to achieve the desired UX, rather than lean on the defaults that ES sets? Also, just as a sanity check, can you verify that the UX problem I initially described makes sense to you? |
The laptop experience is for developers that download our products onto their laptop. We want them to be able to get up and running as quickly as possible, and be enabled to try out many of our futures with minimal fuss.
Cloud does this, because we have different sliders representing different tiers, each encompassing a certain set of roles (e.g., the cold slider enables the
The migration isn't a no-op, because it changes the tier preference on the index from While it is the case that for a single node on a laptop that is enabled with all of the |
When the _tier metadata field is introduced for queries (#69288) it will also use this, which is another reason we update this setting even if the data is not necessarily moving between nodes. |
Thanks @jasontedor and @dakrone. We fixed the original user-facing problem via elastic/kibana#90592. |
When I spin up a new single-node 7.10.1 cluster and run
GET _nodes
, I see that it's been defined with these roles:This results in the ILM UI presenting allocation options to hot and warm as if these options make sense, though of course they're a no-op.
I'm raising this to understand why the node is configured with all of those node roles and to explore the possibility of removing some of them. For example, if we were to remove
data_cold
anddata_warm
then the UI could detect the absence nodes with these roles and warn the user that the allocation action might be a no-op.The text was updated successfully, but these errors were encountered: