dcasati / kubernetes-PlantUML

Kubernetes diagrams using VS Code
MIT License
248 stars 47 forks source link

Generate the PlantUML diagram from Kubernetes script #7

Open VinayaSathyanarayana opened 3 years ago

VinayaSathyanarayana commented 3 years ago

Is it possible to generate the diagram from the Kubernetes Script - may be with special flags/keys in comments?

dcasati commented 3 years ago

That would be an awesome addition. That’s currently not implemented.

VinayaSathyanarayana commented 3 years ago

Thanks @dcasati . What do you suggest as the next steps to implement it?

dcasati commented 3 years ago

I'm investigating this. Open for suggestions though :)

amoAHCP commented 3 years ago

@VinayaSathyanarayana what do you mean by "Kubernetes Script"? we have internally several ways of analyzing Helm Charts (the CRDs) which will result in PlantUML diagrams....this was one of the prototypes: https://github.com/amoAHCP/CRDtoUML/tree/master/crdTOuml

VinayaSathyanarayana commented 3 years ago

@amoAHCP, @dcasati - Thanks for responding. One creates a deployment yaml script for Kubernetes. I would like to visualize the dependencies of the yaml file through plantuml.

VinayaSathyanarayana commented 3 years ago

If we can generate plantuml diagrams from helm charts, that would be great

kirkilj commented 1 year ago

I came here to ask the same question about scripts to read k8s config files, including Helm Charts, apply a filter to extract the desired properties, and then convert to Kubernetes PlantUML.

It doesn't look like there's been any further discussion here. Have there been any further thoughts on this prospect?