weaveworks / scope

Monitoring, visualisation & management for Docker & Kubernetes
https://www.weave.works/oss/scope/
Apache License 2.0
5.86k stars 714 forks source link

hierarchical navigation/zoom between k8s views #719

Open 2opremio opened 8 years ago

2opremio commented 8 years ago

Due to the grouping nature of some kubernetes resources (services and replication controllers, which are built using label selectors), they can be thought as view filters. It would make sense to be able to jump between them or "zoom in".

For example:

rade commented 8 years ago

We do have hierarchical navigation via the details panel, but it's really unintuitive. See #921

rade commented 7 years ago

Double clicking on a service node could bring us to a view were only its associated pods are shown.

I reckon the actual action here should be to "expand" the node into its constituent parts. That way you can see how the parts interact with the rest of the system.

And you can repeat this action on multiple nodes, effectively gradually revealing the structure of the system at a lower level.

The inverse action should exist too: "collapse" a node and its siblings into their 'containing' node.

Animation of these transitions would ensure the user retains context.

One downside of the "expand" action is that you cannot easily identify the nodes which resulted from expansion. The animation helps somewhat with that. One possibility here is that expansion also automatically adds a filter - same as typing into the search box - that selects the new nodes (it would require the ability to search by "parent", which, if not possible already, would be a useful addition anyway).

rade commented 7 years ago

Also, let's not forget that namespaces are in fact the top-level grouping construct.