cloudfoundry / stratos

Stratos: Web-based Management UI for Cloud Foundry and Kubernetes
Apache License 2.0
244 stars 131 forks source link

Add support for network/relationship diagrams #2988

Open nwmac opened 5 years ago

nwmac commented 5 years ago

Use something like Mermaid to show org relationships - spaces, routes, app, services

Mermaid - https://mermaidjs.github.io/

nwmac commented 5 years ago

@mogul Do you have an example for this?

mogul commented 5 years ago

Sorry for the late reply... I do not, although we use MermaidJS for diagrams related to cloud.gov's deployment at the CF level: https://diagrams.fr.cloud.gov.

My expectation would be that every entity in a space, and their relationship to each other would be mapped. "Here's the apps with their instance counts, here're the service instances, you can see which apps are bound to which services, route services to routes, and you can see which routes lead to the apps." "Static" elements common to all apps can also be shown, eg router and external LB, loggregator, etc.

This would be very helpful for newbs getting to grips with CF, as well as for app owners who need to generate diagrams for their System Security Plan, and for auditors to understand how spaces are laid out.