Infrastructure Diagram
A cloud infrastructure setup with Kubernetes, CI/CD, monitoring, and networking.
# Cloud Infrastructure
node id="dev" title="Developer" shape="person" { Local Machine IDE}
group id="cicd" title="CI/CD Pipeline" icon="https://cdn.simpleicons.org/githubactions" { node id="github" title="GitHub" icon="https://cdn.simpleicons.org/github" shape="cloud" { Source Code Pull Requests } node id="actions" title="GitHub Actions" icon="https://cdn.simpleicons.org/githubactions" shape="pipeline" { Build Test Push Image } node id="registry" title="Container Registry" icon="https://cdn.simpleicons.org/docker" shape="barrel" { Docker Images Versioned Tags }}
group id="cloud" title="Google Cloud Platform" icon="https://cdn.simpleicons.org/googlecloud" { group id="network" title="VPC Network" { node id="lb" title="Load Balancer" icon="https://cdn.simpleicons.org/nginx" shape="diamond" { SSL Termination Traffic Routing } node id="dns" title="Cloud DNS" shape="cloud" { topolix.com api.topolix.com } }
group id="k8s" title="GKE Cluster" icon="https://cdn.simpleicons.org/kubernetes" { node id="ingress" title="Ingress Controller" shape="diamond" { Path-based Routing } node id="frontend-deploy" title="Frontend" icon="https://cdn.simpleicons.org/react" shape="container" { 3 replicas Nginx + SPA } node id="backend-deploy" title="Backend" icon="https://cdn.simpleicons.org/fastapi" shape="container" { 2 replicas FastAPI } node id="worker-deploy" title="Worker" icon="https://cdn.simpleicons.org/python" shape="container" { 1 replica Background Jobs } }
group id="data" title="Managed Services" { node id="sql" title="Cloud SQL" icon="https://cdn.simpleicons.org/postgresql" shape="cylinder" { PostgreSQL 16 Automated Backups } node id="memstore" title="Memorystore" icon="https://cdn.simpleicons.org/redis" shape="cylinder" { Redis 7 Session Cache } node id="storage" title="Cloud Storage" icon="https://cdn.simpleicons.org/googlecloud" shape="barrel" { Static Assets User Uploads } }
group id="ops" title="Observability" icon="https://cdn.simpleicons.org/grafana" { node id="logging" title="Cloud Logging" shape="document" { Application Logs Audit Trail } node id="monitoring" title="Cloud Monitoring" icon="https://cdn.simpleicons.org/grafana" shape="server" { Metrics Alerts } }}
node id="argocd" title="ArgoCD" icon="https://cdn.simpleicons.org/argo" shape="gear" { GitOps Auto-sync}
# Connectionsedge from="dev" to="github" label="Push"edge from="github" to="actions" label="Trigger"edge from="actions" to="registry" label="Push Image"edge from="registry" to="argocd" label="New Image" style="dashed"edge from="argocd" to="k8s" label="Deploy" style="animated"edge from="dns" to="lb" label="Resolve"edge from="lb" to="ingress" label="Forward"edge from="ingress" to="frontend-deploy" label="/app"edge from="ingress" to="backend-deploy" label="/api"edge from="backend-deploy" to="sql" label="SQL"edge from="backend-deploy" to="memstore" label="Cache"edge from="worker-deploy" to="sql" label="Jobs"edge from="monitoring" to="k8s" label="Scrape" style="dashed"Patterns Demonstrated
Section titled “Patterns Demonstrated”- Deeply nested groups — VPC > GKE Cluster > Deployments
- Infrastructure shapes —
cloud,diamond,container,barrel,pipeline,document - GitOps flow — Developer → GitHub → Actions → Registry → ArgoCD → Cluster
- Animated edges for deployment flow
- Dashed edges for monitoring and image notification