Stage 3, Part 5 of 10 · p. 23, Control Plane Internals

PART 5: ARCHITECTURE & STRATEGY

21. Control Plane HA Architecture

The Standard HA Setup

text
┌─────────────────────────────────────────────────────────────┐
│                    LOAD BALANCER (VIP)                      │
│                                                             │
│         ┌───────────────┼───────────────┐                   │
│         │               │               │                   │
│         ▼               ▼               ▼                   │
│  ┌─────────────┐ ┌─────────────┐ ┌─────────────┐          │
│  │ Control     │ │ Control     │ │ Control     │          │
│  │ Plane 1     │ │ Plane 2     │ │ Plane 3     │          │
│  │             │ │             │ │             │          │
│  │ apiserver   │ │ apiserver   │ │ apiserver   │          │
│  │ scheduler   │ │ scheduler   │ │ scheduler   │          │
│  │ controller  │ │ controller  │ │ controller  │          │
│  │ etcd        │ │ etcd        │ │ etcd        │          │
│  └─────────────┘ └─────────────┘ └─────────────┘          │
│                                                             │
│  etcd quorum = 2 of 3 (tolerates 1 failure)                │
└─────────────────────────────────────────────────────────────┘

Key Design Principles

PrincipleWhy
Odd number of control planesMaintains quorum
Load balancer for API serverHigh availability
Separate etcd disksI/O isolation
Cross-AZ deploymentFault isolation
Consistent versionsAvoid skew

22. Multi-Cluster Control Plane Strategy

StrategyDescriptionBest For
Single clusterOne control plane, many workersSmall teams
Multi-clusterSeparate control planes per environmentProduction
Hub-and-spokeCentral control plane, remote workersEdge
Cluster APIDeclarative cluster managementFleet management

The Management Cluster Pattern

text
┌─────────────────────────────────────────────────────────────┐
│  Management Cluster                                         │
│  (Cluster API, Argo CD, Monitoring)                        │
│                                                             │
│    ┌───────────────┐  ┌───────────────┐                   │
│    │ Workload      │  │ Workload      │                   │
│    │ Cluster 1     │  │ Cluster 2     │                   │
│  └───────────────┘  └───────────────┘                   │
└─────────────────────────────────────────────────────────────┘

23. Compliance & Security

FrameworkControl Plane Requirement
PCI-DSSEncryption at rest (etcd), audit logs, RBAC
HIPAAEncryption, audit trails, access controls
SOC2Change management, monitoring
FedRAMPFIPS 140-2, hardened control plane

CIS Kubernetes Benchmark Key Items


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