Skip to content

Commit 3e366c8

Browse files
committed
Improve diagrams
1 parent 24c28ce commit 3e366c8

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

content/ngf/overview/gateway-architecture.md

+14-8
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ This split architecture ensures operational boundaries between the control plane
8787
This figure depicts an example of NGINX Gateway Fabric exposing three web applications within a Kubernetes cluster to clients on the internet:
8888

8989
```mermaid
90-
graph TD
90+
graph LR
9191
%% Nodes and Relationships
9292
subgraph KubernetesCluster[Kubernetes Cluster]
9393
subgraph applications1[Namespace: applications]
@@ -105,10 +105,7 @@ graph TD
105105
106106
subgraph HTTPRouteAAndApplicationA[HTTPRoute A and Application A]
107107
HTTPRouteA[HTTPRoute A<br>Host: a.example.com]
108-
subgraph ApplicationA[Application A]
109-
Pod1[Pod]
110-
Pod2[Pod]
111-
end
108+
ApplicationA[Application AB<br>Pods: 2]
112109
end
113110
114111
subgraph HTTPRouteBAndApplicationB[HTTPRoute B and Application B]
@@ -253,12 +250,13 @@ For example, the Cluster Operator is denoted by the color green, indicating they
253250
## NGINX Gateway Fabric: Component Communication Workflow
254251

255252
```mermaid
256-
graph TD
253+
graph LR
257254
%% Main Components
258-
NGFPod[NGF Pod]
259255
KubernetesAPI[Kubernetes API]
260256
PrometheusMonitor[Prometheus]
261257
F5Telemetry[F5 Telemetry Service]
258+
NGFPod[NGF Pod]
259+
NGINXPod[NGINX Pod]
262260
Client[Client]
263261
Backend[Backend]
264262
@@ -276,6 +274,13 @@ graph TD
276274
ContainerRuntimeNGF[stdout/stderr]
277275
end
278276
277+
%% External Components Grouping
278+
subgraph ExternalComponents[.]
279+
KubernetesAPI[Kubernetes API]
280+
PrometheusMonitor[Prometheus]
281+
F5Telemetry[F5 Telemetry Service]
282+
end
283+
279284
%% HTTPS: Communication with Kubernetes API
280285
NGFProcess -- "(1) Reads Updates" --> KubernetesAPI
281286
NGFProcess -- "(1) Writes Statuses" --> KubernetesAPI
@@ -294,7 +299,7 @@ graph TD
294299
295300
%% gRPC: Configuration Updates
296301
NGFProcess -- "(6) Sends Config to Agent" --> NGINXAgent
297-
NGINXAgent -- "(7) Validates Config & Writes TLS Certs" --> ConfigFiles
302+
NGINXAgent -- "(7) Validates & Writes Config & TLS Certs" --> ConfigFiles
298303
NGINXAgent -- "(8) Reloads NGINX" --> NGINXMaster
299304
NGINXAgent -- "(9) Sends DataPlaneResponse" --> NGFProcess
300305
@@ -314,6 +319,7 @@ graph TD
314319
classDef metrics fill:#FFC0CB,stroke:#333,stroke-width:2px;
315320
classDef io fill:#FFD700,stroke:#333,stroke-width:2px;
316321
classDef signal fill:#87CEEB,stroke:#333,stroke-width:2px;
322+
style ExternalComponents fill:transparent,stroke-width:0px
317323
318324
%% Class Assignments for Node Colors
319325
class NGFPod,KubernetesAPI important;

0 commit comments

Comments
 (0)