Stage 7, Part 5 of 9 · p. 60, Kubernetes Networking Deep Dive

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

RequirementRecommended CNI
New cluster (2026)Cilium
Policy-heavy, existingCalico
AWS EKSAWS VPC CNI (+ Calico for policy)
Azure AKSAzure CNI
GKEDataplane V2 (Cilium-based)
Simple, K3sFlannel
eBPF, no kube-proxyCilium

Recommendation for 2026: Cilium for new clusters (eBPF performance, L7 visibility).


25. Compliance & Security for Networking

FrameworkNetworking Requirement
PCI-DSSNetwork segmentation, default deny
HIPAAEncryption in transit, audit
SOC2Change management, monitoring
GDPRData residency
FedRAMPFIPS 140-2, default deny

1:1 copy of the class Google Doc, code in code blocks.