[Kubernetes (K8S)] Helm install PlantUML Server to generate UML diagrams on-the-fly within Kubernetes (K8S)
PlantUML
PlantUML is an open-source tool allowing users to create diagrams from a plain text language that allows to quickly write :
-
Sequence diagram
-
Usecase diagram
-
Class diagram
-
Activity diagram (here is the legacy syntax)
-
Component diagram
-
State diagram
-
Object diagram
-
Deployment diagram
-
Timing diagram
PlantUML Server is a web application to generate UML diagrams on-the-fly.
This article is about how to use Helm to deploy PlantUML Server on Kubernetes (K8S).
Prerequisites
-
Kubernetes (K8S)
Kubernetes (K8s) is an open-source system for automating deployment, scaling, and management of containerized applications.For more information about installing and using Kubernetes (K8s), see the Kubernetes (K8s) Docs.
-
Helm
Helm is the best way to find, share, and use software built for Kubernetes.For more information about installing and using Helm, see the Helm Docs.
Installation
Custom Values.yaml
Remember to replace content within {{ }}
with your prefer values.
1 | # values.yaml |
Install by Helm
Helm install plantuml into plantuml namespace.
1 | crate namespace: |
See Helm release about plantuml.
1 | helm list --namespace plantuml |
See pods about plantuml.
1 | kubectl get pods -n plantuml |
Ingress
Create Ingress for plantuml.
Remember to replace content within {{ }}
with your prefer values.
1 | # Ingress.plantuml.yaml |
Apply manifest file.
1 | kubectl apply -f Ingress.plantuml.yaml |
Then, you can visit plantuml server with https://{{ .Values.ingress.host }}
.
References
[3] plantuml/plantuml-server: PlantUML Online Server - https://github.com/plantuml/plantuml