Skip to content

Update routing diagrams to reflect new architecture #977

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 10 additions & 13 deletions static/ngf/img/src/advanced-routing.mermaid
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,30 @@ graph LR
users[Users]
ngfSvc["Public Endpoint\nfor\ncafe.example.com"]
subgraph cluster [Kubernetes Cluster]
subgraph clusterPadding [" "]
subgraph clusterPadding2 [" "]
subgraph gwNS [Namespace\nnginx-gateway]
ngfPod[Pod\nnginx-gateway]
end
end
end
subgraph appNs [Namespace\ndefault]
subgraph nsPadding [" "]
nginxPod[Pod\nNGINX]
coffeeV1Pod[Pod\ncoffee v1]
coffeeV2Pod[Pod\ncoffee v2]
teaPod[Pod\ntea]
teaPostPod[Pod\ntea-post]
end
end
end
ngfSvc --> ngfPod
ngfPod --/coffee--> coffeeV1Pod
ngfPod --/coffee\nheader: version=v2\nOR\n/coffee?TEST=v2--> coffeeV2Pod
ngfPod --GET /tea--> teaPod
ngfPod --POST /tea--> teaPostPod

ngfSvc --> nginxPod
nginxPod --/coffee--> coffeeV1Pod
nginxPod --/coffee\nheader: version=v2\nOR\n/coffee?TEST=v2--> coffeeV2Pod
nginxPod --GET /tea--> teaPod
nginxPod --POST /tea--> teaPostPod
users --> ngfSvc

class clusterPadding,nsPadding,clusterPadding2 noBorder
class gwNS,appNs namespace
class ngfSvc,ngfPod nginxNode
class ngfSvc,nginxPod nginxNode
class coffeeV1Pod,coffeeV2Pod coffeeNode
class teaPod,teaPostPod teaNode

classDef noBorder stroke:none,fill:none
classDef default fill:#FFFFFF,stroke:#000000
classDef namespace fill:#FFFFFF,stroke:#036ffc,stroke-dasharray: 5 5,text-align:center
Expand Down
17 changes: 4 additions & 13 deletions static/ngf/img/src/route-all-traffic-flow.mermaid
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,26 @@ graph LR

subgraph cluster [Kubernetes Cluster]
style cluster fill:#FFFFFF,stroke:#000000
subgraph clusterPadding [" "]
subgraph clusterPadding2 [" "]
subgraph gwNS [Namespace\nnginx-gateway]
ngfPod[Pod\nnginx-gateway]
end
end
end

subgraph appNs [Namespace\ndefault]
subgraph nsPadding [" "]
nginxPod[Pod\nNGINX]
coffeePod1[Pod\ncoffee]
coffeePod2[Pod\ncoffee]
end
end
end



ngfSvc --> ngfPod
ngfPod --> coffeePod1 & coffeePod2
ngfSvc --> nginxPod
nginxPod --> coffeePod1 & coffeePod2
clients --> ngfSvc

class clusterPadding,nsPadding,clusterPadding2 noBorder
class gwNS,appNs namespace
class ngfPod,ngfSvc nginxNode
class nginxPod,ngfSvc nginxNode
class coffeePod1,coffeePod2 coffeeNode
class clients clientNode


classDef noBorder stroke:none,fill:none
classDef default fill:#FFFFFF,stroke:#000000
classDef namespace fill:#FFFFFF,stroke:#036ffc,stroke-dasharray: 5 5,text-align:center
Expand Down