PART 5: ARCHITECTURE & STRATEGY
24. Multi-Tenant Scheduling Strategy
| Tenant Type | Isolation Strategy |
| Internal teams | Namespaces + priorities + quotas |
| External customers | Separate node pools + taints |
| Hostile tenants | Separate clusters |
| GPU tenants | Dedicated GPU node pools + MIG |
Tenant Isolation via Taints
yaml
# Tenant A nodes
kubectl taint nodes tenant-a-node-1 tenant=a:NoSchedule
# Tenant A Pods
spec:
tolerations:
- key: tenant
operator: Equal
value: a
effect: NoSchedule
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: tenant
operator: In
values: [a]
25. GPU and Specialized Hardware Scheduling
Covered in depth in Stage 12 (GPU Orchestration).
Key patterns:
- Dedicated GPU nodes with taints
- NVIDIA Device Plugin for GPU exposure
- MIG for GPU partitioning
- Topology-aware scheduling for NVLink
26. Compliance & Security for Scheduling
| Framework | Scheduling Requirement |
| PCI-DSS | Network segmentation, dedicated nodes for cardholder data |
| HIPAA | Isolated compute for PHI workloads |
| GDPR | Data residency (EU-only nodes) |
| FedRAMP | Dedicated hardware for controlled data |
Data residency example:
yaml
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: topology.kubernetes.io/region
operator: In
values: [eu-west-1] # Only EU nodes
1:1 copy of the class Google Doc, code in code blocks.