Incident Replay · Compute and scaling
The Spot Storm: Tuning Karpenter to Survive a Spot Capacity Crunch
Tune prod's NodePool, buffer and queue, replay the same Spot storm, then follow the incident from one wave to the fix.
The Spot storm in 60 seconds
- A Spot storm is EC2 reclaiming many Spot (spare, discounted) nodes at once. Worst when all nodes share one pool (one instance type, one zone).
- Replacements get throttled. EC2 allows 50 CreateFleet launch calls at once, then 5 a second, per account and Region. Past that: RequestLimitExceeded.
- Breadth is the fix. A NodePool spanning many families, sizes and zones, plus on-demand, spreads nodes over many pools; a crunch takes a slice.
- Headroom hides the rest. Low-priority pause Pods hold warm room that evicted Pods take in seconds; the interruption queue gives Karpenter the 2-minute warning.
- Disruption budgets won't help. They only limit voluntary changes such as consolidation (packing Pods onto fewer nodes); Spot interruptions go ahead regardless.