Skip to content

Commit 6fa64d5

Browse files
authored
Update routing diagrams to reflect new architecture (#977)
1 parent 488c17b commit 6fa64d5

File tree

2 files changed

+14
-26
lines changed

2 files changed

+14
-26
lines changed

static/ngf/img/src/advanced-routing.mermaid

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,30 @@ graph LR
33
users[Users]
44
ngfSvc["Public Endpoint\nfor\ncafe.example.com"]
55
subgraph cluster [Kubernetes Cluster]
6-
subgraph clusterPadding [" "]
7-
subgraph clusterPadding2 [" "]
8-
subgraph gwNS [Namespace\nnginx-gateway]
9-
ngfPod[Pod\nnginx-gateway]
10-
end
11-
end
12-
end
136
subgraph appNs [Namespace\ndefault]
147
subgraph nsPadding [" "]
8+
nginxPod[Pod\nNGINX]
159
coffeeV1Pod[Pod\ncoffee v1]
1610
coffeeV2Pod[Pod\ncoffee v2]
1711
teaPod[Pod\ntea]
1812
teaPostPod[Pod\ntea-post]
1913
end
2014
end
2115
end
22-
ngfSvc --> ngfPod
23-
ngfPod --/coffee--> coffeeV1Pod
24-
ngfPod --/coffee\nheader: version=v2\nOR\n/coffee?TEST=v2--> coffeeV2Pod
25-
ngfPod --GET /tea--> teaPod
26-
ngfPod --POST /tea--> teaPostPod
16+
17+
ngfSvc --> nginxPod
18+
nginxPod --/coffee--> coffeeV1Pod
19+
nginxPod --/coffee\nheader: version=v2\nOR\n/coffee?TEST=v2--> coffeeV2Pod
20+
nginxPod --GET /tea--> teaPod
21+
nginxPod --POST /tea--> teaPostPod
2722
users --> ngfSvc
23+
2824
class clusterPadding,nsPadding,clusterPadding2 noBorder
2925
class gwNS,appNs namespace
30-
class ngfSvc,ngfPod nginxNode
26+
class ngfSvc,nginxPod nginxNode
3127
class coffeeV1Pod,coffeeV2Pod coffeeNode
3228
class teaPod,teaPostPod teaNode
29+
3330
classDef noBorder stroke:none,fill:none
3431
classDef default fill:#FFFFFF,stroke:#000000
3532
classDef namespace fill:#FFFFFF,stroke:#036ffc,stroke-dasharray: 5 5,text-align:center

static/ngf/img/src/route-all-traffic-flow.mermaid

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,26 @@ graph LR
55

66
subgraph cluster [Kubernetes Cluster]
77
style cluster fill:#FFFFFF,stroke:#000000
8-
subgraph clusterPadding [" "]
9-
subgraph clusterPadding2 [" "]
10-
subgraph gwNS [Namespace\nnginx-gateway]
11-
ngfPod[Pod\nnginx-gateway]
12-
end
13-
end
14-
end
158

169
subgraph appNs [Namespace\ndefault]
1710
subgraph nsPadding [" "]
11+
nginxPod[Pod\nNGINX]
1812
coffeePod1[Pod\ncoffee]
1913
coffeePod2[Pod\ncoffee]
2014
end
2115
end
2216
end
2317

24-
25-
26-
ngfSvc --> ngfPod
27-
ngfPod --> coffeePod1 & coffeePod2
18+
ngfSvc --> nginxPod
19+
nginxPod --> coffeePod1 & coffeePod2
2820
clients --> ngfSvc
2921

3022
class clusterPadding,nsPadding,clusterPadding2 noBorder
3123
class gwNS,appNs namespace
32-
class ngfPod,ngfSvc nginxNode
24+
class nginxPod,ngfSvc nginxNode
3325
class coffeePod1,coffeePod2 coffeeNode
3426
class clients clientNode
3527

36-
3728
classDef noBorder stroke:none,fill:none
3829
classDef default fill:#FFFFFF,stroke:#000000
3930
classDef namespace fill:#FFFFFF,stroke:#036ffc,stroke-dasharray: 5 5,text-align:center

0 commit comments

Comments
 (0)