Reorganize the clusters tree
See original GitHub issueI had a meeting with one guy in my team (he is working on the kubernetes plugin in IntelliJ) and we discussed about how to reorganize better the clusters tree to reduce the confusion in it.
It often happens that the clusters tree is filled in with context nodes belonging to the same cluster that only differ for their namespace or user.
An example is the image below
Our idea was to group the nodes based on their host so to have atleast all namespaces together and make the life of a developer that want to switch namespace inside the same cluster easier.
If we take the case above as an example we would end up with 4 nodes instead of 20+.
127-0-0-1:8443
192-168-42-19:8443
192-168-42-72:8443
api-crc-testing:6443
I don’t know if you already tried it and there were some limitations, what do you think? Any other idea?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
reorder.hclust: Reorder a Hierarchical Clustering Tree in vegan
Function takes a hierarchical clustering tree from hclust and a vector of values and reorders the clustering tree in the order of the...
Read more >Reorder a Hierarchical Clustering Tree - R-Project.org
Reordered hclust result object with added item value that gives the value of the statistic at each merge level. Note. These functions should...
Read more >Reordering Hierarchical Tree Based on Bilateral Symmetric ...
This study proposes an ordering method, HC-SYM, which minimizes bilateral symmetric distance of two adjacent clusters in a tree so that ...
Read more >Clustering trees: a visualization for evaluating clusterings at ...
We illustrate the features of clustering trees using a series of simulations as well as two real examples, the classical iris dataset and...
Read more >Reordering phylogenetic tree branches using R
an n-1 by 2 matrix. Row i of merge describes the merging of clusters at step i of the clustering. If an element...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I like this idea as well. It also gives us the freedom (if we decide to do that) to create different selections (all contexts, only namespaces from current cluster, only clusters) so to replicate what happens with
kubectx/kubens
functionality. Users can then choose which one to use based on their needs or their preferences.BTW +1
How about moving the context list and hence context switching out of tree. Basically tree shows the resources for the currently selected context only. For context listing and switching we can do something similar to what
git
extension does for branches.