PART 5: ARCHITECTURE & STRATEGY
23. Zero-Trust Networking Architecture
text
┌─────────────────────────────────────────────────────────────┐
│ ZERO-TRUST NETWORKING │
│ │
│ Layer 1: Default Deny │
│ ┌─────────────────────────────────────────────────────┐ │
│ │ NetworkPolicy: default-deny all namespaces │ │
│ └─────────────────────────────────────────────────────┘ │
│ │
│ Layer 2: Explicit Allow │
│ ┌─────────────────────────────────────────────────────┐ │
│ │ NetworkPolicy: allow only required traffic │ │
│ └─────────────────────────────────────────────────────┘ │
│ │
│ Layer 3: L7 Policy │
│ ┌─────────────────────────────────────────────────────┐ │
│ │ CiliumNetworkPolicy: HTTP methods, gRPC paths │ │
│ └─────────────────────────────────────────────────────┘ │
│ │
│ Layer 4: mTLS │
│ ┌─────────────────────────────────────────────────────┐ │
│ │ Service Mesh: Istio/Linkerd/Cilium │ │
│ └─────────────────────────────────────────────────────┘ │
│ │
│ Layer 5: Observability │
│ ┌─────────────────────────────────────────────────────┐ │
│ │ Hubble: flow-level visibility │ │
│ └─────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────┘
24. CNI Selection Framework
| Requirement | Recommended CNI |
| New cluster (2026) | Cilium |
| Policy-heavy, existing | Calico |
| AWS EKS | AWS VPC CNI (+ Calico for policy) |
| Azure AKS | Azure CNI |
| GKE | Dataplane V2 (Cilium-based) |
| Simple, K3s | Flannel |
| eBPF, no kube-proxy | Cilium |
Recommendation for 2026: Cilium for new clusters (eBPF performance, L7 visibility).
25. Compliance & Security for Networking
| Framework | Networking Requirement |
| PCI-DSS | Network segmentation, default deny |
| HIPAA | Encryption in transit, audit |
| SOC2 | Change management, monitoring |
| GDPR | Data residency |
| FedRAMP | FIPS 140-2, default deny |
1:1 copy of the class Google Doc, code in code blocks.