Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 86108f5b75 | |||
| fb92b4c000 |
@@ -106,6 +106,7 @@ flowchart TD
|
|||||||
|
|
||||||
Zero-downtime releases without duplicating infrastructure. Both versions run inside the **same GKE cluster**; the load balancer switches traffic atomically.
|
Zero-downtime releases without duplicating infrastructure. Both versions run inside the **same GKE cluster**; the load balancer switches traffic atomically.
|
||||||
|
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
flowchart LR
|
flowchart LR
|
||||||
LB[Load Balancer]
|
LB[Load Balancer]
|
||||||
@@ -113,7 +114,7 @@ flowchart LR
|
|||||||
LB -.->|0% traffic| Blue[Blue — v1.3.0<br/>new release]
|
LB -.->|0% traffic| Blue[Blue — v1.3.0<br/>new release]
|
||||||
Blue -.->|smoke tests pass| LB
|
Blue -.->|smoke tests pass| LB
|
||||||
```
|
```
|
||||||
|
---
|
||||||
| Phase | Action |
|
| Phase | Action |
|
||||||
|-------|--------|
|
|-------|--------|
|
||||||
| **Deploy** | New version deployed to the idle slot (blue) |
|
| **Deploy** | New version deployed to the idle slot (blue) |
|
||||||
@@ -207,7 +208,7 @@ Not everything in a "best practices" architecture is worth implementing on day o
|
|||||||
## 7. High-Level Architecture Diagram
|
## 7. High-Level Architecture Diagram
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
flowchart TB
|
flowchart TD
|
||||||
Users((Users))
|
Users((Users))
|
||||||
|
|
||||||
Users --> CDN[Cloud CDN<br/>Static Assets]
|
Users --> CDN[Cloud CDN<br/>Static Assets]
|
||||||
@@ -230,7 +231,7 @@ flowchart TB
|
|||||||
|
|
||||||
API --> Mongo
|
API --> Mongo
|
||||||
API --> Secrets
|
API --> Secrets
|
||||||
GKE --> Registry
|
GKE ----> Registry
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ flowchart TB
|
|||||||
|
|
||||||
Git --> Actions
|
Git --> Actions
|
||||||
Actions --> Registry
|
Actions --> Registry
|
||||||
Argo --> GKE
|
Argo ----> GKE
|
||||||
```
|
```
|
||||||
|
|
||||||
## Blue-Green Deployment Flow
|
## Blue-Green Deployment Flow
|
||||||
@@ -103,7 +103,7 @@ flowchart LR
|
|||||||
## Network Security Layers
|
## Network Security Layers
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
flowchart TD
|
flowchart LR
|
||||||
Internet((Internet)) --> FW[VPC Firewall<br/>Default deny]
|
Internet((Internet)) --> FW[VPC Firewall<br/>Default deny]
|
||||||
FW --> LB[Load Balancer<br/>HTTPS only]
|
FW --> LB[Load Balancer<br/>HTTPS only]
|
||||||
LB --> NP[K8s Network Policies]
|
LB --> NP[K8s Network Policies]
|
||||||
|
|||||||
Reference in New Issue
Block a user