fix: mermaid less than 5k characters

Bertrand Lanson 2024-08-29 20:06:35 +02:00
parent 861e5b4ac9
commit f2ef6e8861
Signed by: lanson
SSH Key Fingerprint: SHA256:/nqc6HGqld/PS208F6FUOvZlUzTS0rGpNNwR5O2bQBw

@ -73,9 +73,9 @@ nomadnode2
nomadnode3
[nomad_clients]
nomadclient1
nomadclient2
nomadclient3
nmdcl1
nmdcl2
nmdcl3
[consul_agents]
...
@ -91,7 +91,7 @@ Heres what the architecture for a production setup might look like:
```mermaid
graph TD
subgraph consulservers[Consul Servers]
subgraph cnslsrv[Consul Servers]
direction LR
consul1[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_500x500.png' width='40' height='40' /><span>] <--> consul2 & consul3 & consul4 & consul5
consul2[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_500x500.png' width='40' height='40' /><span>] <--> consul3 & consul4 & consul5
@ -122,51 +122,51 @@ graph TD
vaultnode3 <--> vaultnode1
end
vaultservers -->|Service registration| consulservers
vaultservers -->|Service registration| cnslsrv
subgraph nomadservers[Nomad Servers]
subgraph nmdsrvs[Nomad Servers]
direction LR
subgraph nomadservernode1[ ]
subgraph nmdsrvnode1[ ]
direction TB
nomadserver1[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_500x500.png' width='40' height='40' /><span>] <--> consulnomadserveragent1
consulnomadserveragent1([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
nmdsrv1[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_500x500.png' width='40' height='40' /><span>] <--> consulnmdsrvagent1
consulnmdsrvagent1([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
end
subgraph nomadservernode2[ ]
subgraph nmdsrvnode2[ ]
direction TB
nomadserver2[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_500x500.png' width='40' height='40' /><span>] <--> consulnomadserveragent2
consulnomadserveragent2([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
nmdsrv2[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_500x500.png' width='40' height='40' /><span>] <--> consulnmdsrvagent2
consulnmdsrvagent2([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
end
subgraph nomadservernode3[ ]
subgraph nmdsrvnode3[ ]
direction TB
nomadserver3[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_500x500.png' width='40' height='40' /><span>] <--> consulnomadserveragent3
consulnomadserveragent3([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
nmdsrv3[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_500x500.png' width='40' height='40' /><span>] <--> consulnmdsrvagent3
consulnmdsrvagent3([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
end
nomadserver1 <--> nomadserver2
nomadserver2 <--> nomadserver3
nomadserver3 <--> nomadserver1
nmdsrv1 <--> nmdsrv2
nmdsrv2 <--> nmdsrv3
nmdsrv3 <--> nmdsrv1
end
nomadservers -->|Service registration| consulservers
nmdsrvs -->|Service registration| cnslsrv
subgraph nomadclients[Nomad Clients]
subgraph nmdcls[Nomad Clients]
direction LR
subgraph nomadclientnode1[ ]
subgraph nmdclnode1[ ]
direction LR
nomadclient1[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_white_500x500.png' width='40' height='40' /><span>] <--> consulnomadclientagent1
consulnomadclientagent1([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
nmdcl1[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_white_500x500.png' width='40' height='40' /><span>] <--> consulnmdclagent1
consulnmdclagent1([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
end
subgraph nomadclientnode2[ ]
subgraph nmdclnode2[ ]
direction LR
nomadclient2[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_white_500x500.png' width='40' height='40' /><span>] <--> consulnomadclientagent2
consulnomadclientagent2([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
nmdcl2[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_white_500x500.png' width='40' height='40' /><span>] <--> consulnmdclagent2
consulnmdclagent2([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
end
subgraph nomadclientnode3[ ]
subgraph nmdclnode3[ ]
direction LR
nomadclient3[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_white_500x500.png' width='40' height='40' /><span>] <--> consulnomadclientagent3
consulnomadclientagent3([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
nmdcl3[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_white_500x500.png' width='40' height='40' /><span>] <--> consulnmdclagent3
consulnmdclagent3([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
end
end
nomadclients -->|Service registration| consulservers
nomadclients <--> nomadservers
nmdcls -->|Service registration| cnslsrv
nmdcls <--> nmdsrvs
```