Stage 12, Part 5 of 9, GPU Orchestration & Multi-Tenancy

Text

PART 5: ARCHITECTURE & STRATEGY

20. Multi-Tenant GPU Platform Architecture

text
┌─────────────────────────────────────────────────────────────┐
│                    GPU PLATFORM ARCHITECTURE                │
│                                                             │
│  Layer 1: Kubernetes                                        │
│  ┌─────────────────────────────────────────────────────┐   │
│  │  Namespaces + RBAC + ResourceQuota                   │   │
│  └─────────────────────────────────────────────────────┘   │
│                                                             │
│  Layer 2: Scheduling                                        │
│  ┌─────────────────────────────────────────────────────┐   │
│  │  KAI Scheduler / Kueue / Volcano                    │   │
│  │  • Gang scheduling, fair sharing, quotas            │   │
│  └─────────────────────────────────────────────────────┘   │
│                                                             │
│  Layer 3: Hardware                                          │
│  ┌─────────────────────────────────────────────────────┐   │
│  │  MIG / Time-slicing                                 │   │
│  │  • Hardware isolation (MIG)                         │   │
│  │  • Software sharing (time-slicing)                  │   │
│  └─────────────────────────────────────────────────────┘   │
│                                                             │
│  Layer 4: Runtime                                           │
│  ┌─────────────────────────────────────────────────────┐   │
│  │  Kata Containers (optional)                         │   │
│  │  • VM-level isolation                               │   │
│  └─────────────────────────────────────────────────────┘   │
│                                                             │
│  Layer 5: Observability                                     │
│  ┌─────────────────────────────────────────────────────┐   │
│  │  DCGM Exporter + Prometheus + Grafana               │   │
│  └─────────────────────────────────────────────────────┘   │
└─────────────────────────────────────────────────────────────┘

21. GPU Fleet Management

ComponentPurpose
GPU OperatorDriver, device plugin, DCGM
Node Feature DiscoveryLabel GPU model
KarpenterGPU node provisioning
KAI SchedulerAI-aware scheduling
DCGMGPU monitoring
KubecostGPU cost allocation

22. Compliance & Security for GPU Workloads

FrameworkGPU Requirement
PCI-DSSIsolated GPU (MIG), audit logs
HIPAAEncrypted data, audit trails
SOC2Change management, monitoring
FedRAMPFIPS 140-2, Kata isolation

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