Skip to content

Commit

Permalink
Update arch diag
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcollom committed May 31, 2024
1 parent 636139d commit 0fb832f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Binary file modified content/assets/architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 10 additions & 1 deletion scripts/architecture.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
from diagrams.onprem.client import Users
from diagrams.custom import Custom

from diagrams.k8s.compute import Deploy
from diagrams.k8s.compute import Deploy, StatefulSet, Cronjob
from diagrams.k8s.clusterconfig import LimitRange
from diagrams.k8s.others import CRD
from diagrams.generic.place import Datacenter

Expand All @@ -18,6 +19,14 @@
users = Users("Users")

with Cluster("Cluster"):
with Cluster("[ns] applications"):
a1 = Deploy("App1")
a2 = StatefulSet("App2")
a3 = Cronjob("App3")
l = LimitRange("limit-ranger")
vpa = CRD("VPA")
a1-Edge(color="transparent")-a2-Edge(color="transparent")
a3-Edge(color="transparent")-l-Edge(color="transparent")-vpa
with Cluster("[ns] finops-stack"):
prom = Prometheus("Prometheus")
graf = Grafana("Grafana")
Expand Down

0 comments on commit 0fb832f

Please sign in to comment.