webui icon indicating copy to clipboard operation
webui copied to clipboard

Indicate relationships between K8s objects in the graph

Open jpellizzari opened this issue 4 years ago • 1 comments

I think it is worth distinguishing between the relationships "this object synced that object" as in a Kustomization->Deployment, and "this object is the owner of that object" as in Deployment->ReplicaSet. In terms of what we're trying to show the user, there's two different things going on: firstly, how syncs are configured, and secondly, what the outcome of a sync is. In the example, the first is represented by the sole kustomization object, but you can easily imagine a chain of "this kustomization synced that kustomization which synced this deployment ...."

Originally posted by @squaremo in https://github.com/fluxcd/webui/issues/46#issuecomment-853617983

Screenshot from 2021-06-02 10-09-56

jpellizzari avatar Jun 03 '21 14:06 jpellizzari

From @bia on the original PR:

I think "this object is the owner of that object" should be the visually strongest relationship to display, so we keep the solid line/arrow for those. In the case of "this kustomization synced that kustomization which synced this deployment" I could imagine a coloured (shades of blue ?) line persisting through that chain. Is that possible ?

jpellizzari avatar Jun 03 '21 15:06 jpellizzari