diff --git a/docs/pages/deploy-a-cluster/high-availability.mdx b/docs/pages/deploy-a-cluster/high-availability.mdx index ec332b5d7950c..bf991163b051f 100644 --- a/docs/pages/deploy-a-cluster/high-availability.mdx +++ b/docs/pages/deploy-a-cluster/high-availability.mdx @@ -45,9 +45,13 @@ Infrastructure components include: credential provisioner will need to manage DNS records to demonstrate control over your domain name. +{/* +The block of   is there to push the subgraph label out of the way of the +diagram lines. This is a hacky solution to https://github.com/mermaid-js/mermaid/issues/1209 +*/} + ```mermaid flowchart - subgraph public[Public Network] Developers end @@ -61,7 +65,7 @@ flowchart Developers & server1 & server2 & server3 --> lb1[Load Balancer] lb1 --> proxies - subgraph teleport[Private Network] + subgraph teleport[Private Network                               ] subgraph proxies[Proxy Service Pool] tp1[Teleport Proxy Service] tp2[Teleport Proxy Service] @@ -71,7 +75,7 @@ flowchart subgraph auth[Auth Service Pool] ta1[Teleport Auth Service] - ta3[Teleport Auth Service] + ta2[Teleport Auth Service] end lb2-->auth @@ -79,6 +83,18 @@ flowchart auth-->kv[Key/Value Store] auth-->os[Object Store] end + +classDef teleportColor fill:#844cff,color:#fff +classDef nestedSub fill:#fff +class proxies nestedSub +class auth nestedSub +class server1 teleportColor +class server2 teleportColor +class server3 teleportColor +class tp1 teleportColor +class tp2 teleportColor +class ta1 teleportColor +class ta2 teleportColor ``` ## Layer 4 load balancers