-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
ILM data allocation UX in Cloud #79946
Comments
Pinging @elastic/es-ui (Team:Elasticsearch UI) |
ECE vs. Cloud vs. on-premAt the highest-level, there are different user experiences for users of ECE, Cloud, and on-prem. Long-term we'll want to consider the ECE UX but we currently only have enough information to clearly differentiate between the Cloud and on-prem UX. The remainder of this comment will focus on the Cloud UX. CloudWe need to consider two milestone states, which I'll call current milestone and future milestone. Here's how we can compare them in terms of functionality that impacts ILM.
The "cold slider switch"This has also been referred to as the migration/breaking change triggered by moving users to node roles on cloud. Within the future milestone, there are two states separated by an event. The first state is before the user has ever enabled the cold slider. In this state, the warm nodes in the deployment will only have custom node attributes on them ( The event that occurs is the "cold slider switch", in which the user enables the cold slider for the first time (or performs a similar action the triggers the same event, for example enabling autoscaling). This event triggers the transition to the second state, in which the warm nodes in the deployment have both custom node attributes ( Kibana ILM UXGiven the above, we need to consider the impact each of these milestones will have on the Kibana ILM UX. All of the work below is assumed to ship with 7.10 and subsequent releases. Current milestone
Remove node role data allocation optionsDONE: #79650 Node roles aren't supported in the current milestone, so we should remove this option from the UI when the current milestone is detected. Future milestoneWarm tier allocationQUESTION: Do we want to allow allocation using node roles if the user hasn't enabled them yet? We've been working in #80512 with the assumption that we can direct the user to Cloud to enable node roles for the warm tier. However, the cold slider switch is the only event that triggers this transition. Absent any changes on the Cloud side, directing users to Cloud to enable node roles for the warm tier doesn't make sense. An alternative is to disallow warm tier allocation using node roles until they've been enabled via the cold slider. In this scenario, a user attempting to set data allocation for the warm tier will only be shown the "Off" and "Custom" (node attribute) options when they are in the pre-cold slider switch state. After the cold slider switch, they'll gain the "Default" (node role) option. This scenario doesn't require any changes on the Cloud side. Cold tier allocationDONE: #79650 The user will be presented the option to select "Default" (node role), "Off", and "Custom" (node attribute) allocation. When the user selects "Default", ILM will prompt them to enable the cold tier in Cloud if there are no cold data tier node roles. Contracts with Cloud
|
I'm sure what is the expected behavior for example for self-managed clusters in those scenarios, but I don't think we should.
+1 and just a small nitpick, which shouldn't change anything here, but the migration to using the new data tier roles can be triggered by other events, such as enabling autoscaling for example. |
Closing in favor of #80023 |
Overview
On a 7.10 I/O optimized deployment on Cloud, the user has the option of selecting node roles or custom node attributes for controlling data allocation in ILM.
Node roles
When the user selects node roles, the UI indicates that warm nodes have been configured for the warm data tier, and that cold nodes have been configured for the cold data tier.
Custom node attributes
When the user selects custom node attributes, they're prompted to add some to
elasticsearch.yml
.Node configuration
Some nodes in the cluster have been configured with a combination of
"roles": ["data"]
and"data": true
.Questions
[ILM] Cloud-specific changes for 7.10 #79650 changes the cold phase prompt for the node role option to prompt the user to add a cold tier in Cloud if no node has been tagged with the
data_cold
node role. Shouldn't we update the warm phase with a similar prompt?Cloud users can't add custom node attributes to their
elasticsearch.yml
. What would be the appropriate guidance for a Cloud user?CC @bleskes @jloleysens @jethr0null
The text was updated successfully, but these errors were encountered: