fix: mermaid less than 5k characters
parent
861e5b4ac9
commit
f2ef6e8861
@ -73,9 +73,9 @@ nomadnode2
|
|||||||
nomadnode3
|
nomadnode3
|
||||||
|
|
||||||
[nomad_clients]
|
[nomad_clients]
|
||||||
nomadclient1
|
nmdcl1
|
||||||
nomadclient2
|
nmdcl2
|
||||||
nomadclient3
|
nmdcl3
|
||||||
|
|
||||||
[consul_agents]
|
[consul_agents]
|
||||||
...
|
...
|
||||||
@ -91,7 +91,7 @@ Here’s what the architecture for a production setup might look like:
|
|||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
graph TD
|
graph TD
|
||||||
subgraph consulservers[Consul Servers]
|
subgraph cnslsrv[Consul Servers]
|
||||||
direction LR
|
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
|
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
|
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
|
vaultnode3 <--> vaultnode1
|
||||||
end
|
end
|
||||||
|
|
||||||
vaultservers -->|Service registration| consulservers
|
vaultservers -->|Service registration| cnslsrv
|
||||||
|
|
||||||
subgraph nomadservers[Nomad Servers]
|
subgraph nmdsrvs[Nomad Servers]
|
||||||
direction LR
|
direction LR
|
||||||
subgraph nomadservernode1[ ]
|
subgraph nmdsrvnode1[ ]
|
||||||
direction TB
|
direction TB
|
||||||
nomadserver1[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_500x500.png' width='40' height='40' /><span>] <--> consulnomadserveragent1
|
nmdsrv1[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_500x500.png' width='40' height='40' /><span>] <--> consulnmdsrvagent1
|
||||||
consulnomadserveragent1([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
|
consulnmdsrvagent1([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
|
||||||
end
|
end
|
||||||
subgraph nomadservernode2[ ]
|
subgraph nmdsrvnode2[ ]
|
||||||
direction TB
|
direction TB
|
||||||
nomadserver2[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_500x500.png' width='40' height='40' /><span>] <--> consulnomadserveragent2
|
nmdsrv2[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_500x500.png' width='40' height='40' /><span>] <--> consulnmdsrvagent2
|
||||||
consulnomadserveragent2([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
|
consulnmdsrvagent2([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
|
||||||
end
|
end
|
||||||
subgraph nomadservernode3[ ]
|
subgraph nmdsrvnode3[ ]
|
||||||
direction TB
|
direction TB
|
||||||
nomadserver3[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_500x500.png' width='40' height='40' /><span>] <--> consulnomadserveragent3
|
nmdsrv3[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_500x500.png' width='40' height='40' /><span>] <--> consulnmdsrvagent3
|
||||||
consulnomadserveragent3([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
|
consulnmdsrvagent3([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
|
||||||
end
|
end
|
||||||
nomadserver1 <--> nomadserver2
|
nmdsrv1 <--> nmdsrv2
|
||||||
nomadserver2 <--> nomadserver3
|
nmdsrv2 <--> nmdsrv3
|
||||||
nomadserver3 <--> nomadserver1
|
nmdsrv3 <--> nmdsrv1
|
||||||
end
|
end
|
||||||
|
|
||||||
nomadservers -->|Service registration| consulservers
|
nmdsrvs -->|Service registration| cnslsrv
|
||||||
|
|
||||||
subgraph nomadclients[Nomad Clients]
|
subgraph nmdcls[Nomad Clients]
|
||||||
direction LR
|
direction LR
|
||||||
subgraph nomadclientnode1[ ]
|
subgraph nmdclnode1[ ]
|
||||||
direction LR
|
direction LR
|
||||||
nomadclient1[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_white_500x500.png' width='40' height='40' /><span>] <--> consulnomadclientagent1
|
nmdcl1[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_white_500x500.png' width='40' height='40' /><span>] <--> consulnmdclagent1
|
||||||
consulnomadclientagent1([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
|
consulnmdclagent1([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
|
||||||
end
|
end
|
||||||
subgraph nomadclientnode2[ ]
|
subgraph nmdclnode2[ ]
|
||||||
direction LR
|
direction LR
|
||||||
nomadclient2[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_white_500x500.png' width='40' height='40' /><span>] <--> consulnomadclientagent2
|
nmdcl2[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_white_500x500.png' width='40' height='40' /><span>] <--> consulnmdclagent2
|
||||||
consulnomadclientagent2([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
|
consulnmdclagent2([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
|
||||||
end
|
end
|
||||||
subgraph nomadclientnode3[ ]
|
subgraph nmdclnode3[ ]
|
||||||
direction LR
|
direction LR
|
||||||
nomadclient3[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_white_500x500.png' width='40' height='40' /><span>] <--> consulnomadclientagent3
|
nmdcl3[<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/nomad_white_500x500.png' width='40' height='40' /><span>] <--> consulnmdclagent3
|
||||||
consulnomadclientagent3([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
|
consulnmdclagent3([<span style='min-width: 40px; display: block;'><img src='./assets/hashicorp/consul_white_500x500.png' width='40' height='40' /><span>])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
nomadclients -->|Service registration| consulservers
|
nmdcls -->|Service registration| cnslsrv
|
||||||
nomadclients <--> nomadservers
|
nmdcls <--> nmdsrvs
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user