Summary Cheat Sheet
| Concept | Key Takeaway |
| HPA | Scales replicas based on metrics |
| VPA | Adjusts resource requests/limits |
| KEDA | Event-driven autoscaling, scale to zero |
| Cluster Autoscaler | Node scaling (3-4 min) |
| Karpenter | Node provisioning (45-60s), consolidation |
| Spot instances | 60-90% discount, interruption risk |
| Bin-packing | MostAllocated scoring |
| Node consolidation | Karpenter, Descheduler |
| PDB | Can block scale-down |
| Kubecost | Cost monitoring (IBM) |
| OpenCost | Cost monitoring (CNCF) |
| Goldilocks | VPA recommendations dashboard |
| Resource requests | Scheduler uses these, not usage |
| QoS | Guaranteed > Burstable > BestEffort |
| HPA behavior | Scale up fast, scale down slow |
| VPA + HPA conflict | Never both on CPU |
| Karpenter consolidation | 50% node reduction in production |
| Cost governance | Visibility → Optimization → Scaling → Governance |
1:1 copy of the class Google Doc, code in code blocks.