Stage 1, Part 5 of 9 · p. 5, Kubernetes Fundamentals (Day 0/1)

PART 5: ARCHITECTURE & STRATEGY

21. Cluster Topology Patterns

Single Cluster (Small Teams)

text
┌─────────────────────────────────────────────────────────────┐
│  Single Cluster                                             │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐     │
│  │  dev ns      │  │  staging ns  │  │  prod ns     │     │
│  └──────────────┘  └──────────────┘  └──────────────┘     │
└─────────────────────────────────────────────────────────────┘

Pros: Simple, cheap.
Cons: Single point of failure, noisy neighbors.

Multi-Cluster (Production)

text
┌─────────────────────────────────────────────────────────────┐
│  Cluster: dev          Cluster: staging      Cluster: prod │
│  ┌──────────────┐      ┌──────────────┐      ┌──────────┐ │
│  │  dev         │      │  staging     │      │  prod    │ │
│  └──────────────┘      └──────────────┘      └──────────┘ │
└─────────────────────────────────────────────────────────────┘

Pros: Isolation, safer upgrades.
Cons: More overhead.

Multi-Region (Global)

text
┌─────────────────────────────────────────────────────────────┐
│  Region A                Region B                Region C   │
│  ┌──────────────┐        ┌──────────────┐        ┌───────┐│
│  │  Cluster     │        │  Cluster     │        │Cluster││
│  │  (us-east)   │        │  (eu-west)   │        │(ap)   ││
│  └──────────────┘        └──────────────┘        └───────┘│
│         │                       │                     │    │
│         └───────────────────────┴─────────────────────┘    │
│                    Global Load Balancer                    │
└─────────────────────────────────────────────────────────────┘

22. Multi-Tenancy Strategy

ModelIsolationBest For
NamespacesLogicalInternal teams
vClusterVirtual clustersStrong isolation on shared clusters
Separate clustersPhysicalExternal customers, compliance
CapsuleHierarchical namespacesEnterprise multi-tenancy

Recommendation:


23. Compliance & Security

FrameworkK8s Requirement
PCI-DSSNetwork segmentation, RBAC, audit logs
HIPAAEncryption, audit, access controls
SOC2Change management, monitoring
FedRAMPFIPS 140-2, hardened configs

CIS Kubernetes Benchmark key items:


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