question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reorganize the clusters tree

See original GitHub issue

I 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

image

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?

cc @itowlson @gorkem @squillace @adietish

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
lstocchicommented, May 22, 2020

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

2reactions
gorkemcommented, May 21, 2020

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. branch

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found