-
Notifications
You must be signed in to change notification settings - Fork 916
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
[MD] Able to Hide "Local Cluster" option from datasource DropDown and Index Pattern creation page #5754
Comments
Thanks for creating issue. Can you add more details about what will be the the UI changes or user experience any for different combination of settings? e.g.
Can you add user story with more details why you are adding this feature flag? What feature you are bringing with this feature flag? Also is this feature flag impacts UI? if yes, how are we planning to pass this feature flag value to browser side. |
This #5717 might change your approach to fix the issue. |
I would change the main heading of the issue to describe more about what feature your developing. Adding feature flag is one of the step developing that feature. You can create another issues for subtasks created for achieving this feature and track them here. |
@bandinib-amzn thanks for all the comments, I've updated the description of this feature with task break down and more details. Please feel free to add more comments if there are any other concerns or suggestions. Thanks~ |
Happy to work on it |
This is not correct. User can have both multi data source enabled and local cluster running.
Can you please elaborate more why we can't use this and what benefits you are bringing in by introducing new feature flag? |
If you have PoC or working code ready, could you please create short videos demonstrating the Dev Tools, Index Pattern, and sample data? This will help us visualize how they appear when implementing proposed change. We can request @kgcreative to review them. |
Hey @kgcreative hope you are doing well.I have attached the POC demo under the description. Thanks |
This doesn't feel right to me, and i'm concerned about potential regressions with this behavior. I'm not sure that this should be a .yml setting either. All the OSD admin should do is enable the MDS feature. Everything else should be done in the UI.
My recommendation would be as follows: When multiple cluster connections are present, we should expose the host cluster as a "MDS" connection in the data sources page. The customer should be able to 1) Rename the cluster, and 2) It should be set as default. This should, by default, either be called The "Default cluster" should be a UI setting, similar to how you can set an index pattern as default. This is because the "Default" cluster should behave the same way that the current application works. This is to ensure plugins won't break if this feature is not present. We are working on figuring out a consistent cluster selection strategy for all plugins, but this should not be blocked by that. Essentially, what we need is the following:
|
Hey @kgcreative, thanks for the comments. For some context, this is the current behavior in AOS~ For your concerns: First Concern:
Answer: That's a good comment, We already take it into consideration. Second Concern:
Answer: That's also a good point and all other recommendations values a lot. When MD is enabled and this flag is enabled, as the first phase, we add an error handling to make sure dataSoruce should always exist #5751 and that change can protect us from regressions. Once "consistent cluster selection strategy for all plugins" is ready, we can do a second phase to onboard this change. |
For what it's worth, for the first concern, i'm not concerned about |
Thanks for the comments and that is a good point~ To answer the question shortly: More Context We want to keep that config because it can keep the flexibility to enable / disabled local cluster when MD is enabled. |
Discussed with @kgcreative and we agree on:
@kgcreative please feel free to comments in case anything I miss. Thanks |
@xinruiba I'm aligned with this. |
Is your feature request related to a problem? Please describe.
When multiple data source feature is enabled, some user will not need "Local Cluster" option shows up under dataSource DropDown and Index Pattern creation page anymore.
This is the feature requirement to enabled / disable "local cluster" option from datasource dropdown and index pattern creation page when MD enabled.
With this feature created successfully, follow changes should take into place:
Add Sample Data: Local Cluster option can be enabled/disabled based on yml config
Dev Tools: Local Cluster option can be enabled/disabled based on yml config
Index Pattern: Use Default DataSource can be enabled/disabled based on yml config
POC demo
DefaultCluster.mov
Describe the solution you'd like
Describe alternatives you've considered
Additional context
#5696
In order to implement the feature, we need:
The text was updated successfully, but these errors were encountered: