dcasati / kubernetes-plantuml Goto Github PK
View Code? Open in Web Editor NEWKubernetes diagrams using VS Code
License: MIT License
Kubernetes diagrams using VS Code
License: MIT License
Is it possible to generate the diagram from the Kubernetes Script - may be with special flags/keys in comments?
Hi @dcasati I was trying to get started with generating K8s plantuml diagram for sample example kuberentes.puml however kubernetes icons seems missing in the generated diagram (preview). Can you suggest if I am missing something here. Thanks!
Hi,
would be neat to have stable links in diagrams and therefore a tag which can be imported (define) instead of relying on master.
Hi Diego,
Thanks for the impressive work on kubernetes diagrams!
2 topics I'd like to discuss with you
plantuml guide
I am working with @arnaud Roques (creator/owner of plantuml) on a guide for stdlib to be released next week.
I'd like to include one of your diagrams as it showcases the power of plantuml. i..e this page
https://crashedmind.github.io/PlantUMLHitchhikersGuide/kubernetes/kubernetes.html
the current diagram
https://github.com/dcasati/kubernetes-PlantUML/blob/master/samples/microservices-azure-aks.puml has a text overlap when using the plantuml server.
This can be fixed by adding "skinparam linetype polyline"
thanks,
Chris
If AZURE_SYMBOL_COLOR is undefined (e.g., another part of the stdlib is not imported) then the sprites are not visible.
If KUBERNETES_SYMBOL_COLOR is redefined, it has no effect.
Hey @dcasati - think about joining the https://github.com/plantuml-stdlib org :)
The Kubernetes symbols/icons in the PlantUML generated images look too light.
Just compare this icon
with the icons in the "hello-world" example
I've tried redefining KUBERNETES_SYMBOL_COLOR
after including kubernetes_Common.puml
but that doesn't fix things. When using #000000
the icons become grayish, so there is an effect, but they don't become black as I would have expected.
BTW, the upstream icons use #326CE5
not #0072C6
as defined in dist/kubernetes_Common.puml
via KUBERENETES_COLOR
. FWIW, the "hello-world" uses #66abdd
which is different again.
I suspect the C4 stuff is throwing a monkey wrench but haven't pursued that lead (yet?).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.