Running Kubernetes workloads on Amazon EC2 Spot instances behind Karpenter (karpenter.sh/v1) is one of the fastest ways to cut an EKS compute bill by 50%–65%.

Until an Availability Zone capacity tightening or a popular CPU family recall hits.
When multiple Spot nodes in the same AZ or processor family (for example, Graviton3 c7g/m7g) get reclaimed inside the same two-minute window, a Spot-heavy NodePool does not degrade gracefully—it can suffer a correlated blackout.
Over the past few weeks, I built an open-source capacity simulator and karpenter.sh/v1 manifest synthesizer (AegisScale) to measure this exact failure mode—first across five real public production traces (including the October 2024 Microsoft Azure Multimodal LMM Inference trace from ModServe) and a 28-million-event discrete-event queue simulator, and then on a real 4-node Kubernetes (kind) cluster under live concurrent HTTP traffic.
Here is what actually broke, what survived, and the concrete karpenter.sh/v1 pattern that stopped the outage.
The Live 4-Node Kubernetes (kind) Test
To avoid relying purely on analytical queueing formulas, I spun up a 4-node kind cluster (1 control-plane + 3 worker nodes labeled on-demand/us-east-1a, spot/us-east-1b, and spot/us-east-1c), deployed an HTTP service doing ~8 ms of deterministic CPU work per request, and replayed a 60-second scaled burst from the October 2024 Azure trace (2,230 real concurrent async HTTP requests per run).
At t = 20s and t = 25s, right during the traffic surge, I injected a correlated dual-AZ Spot reclamation using real Kubernetes node drains:
kubectl cordon aegis-emulation-worker2 kubectl drain aegis-emulation-worker2 --ignore-daemonsets --delete-emptydir-data --force --grace-period=5 What Happened
| Setup | Total Requests | HTTP Error Rate | Post-Drain Error Rate (t >= 20s) | Min Ready Pods | Real HTTP P99 |
|---|---|---|---|---|---|
| Unhedged Greedy Spot (4 Spot pods across 2 AZs, no OD anchor) | 2,230 | 60.58% (1,351 failed) | 79.99% | 0 (full blackout) | 124.4 ms (surviving only) |
On-Demand Anchor + Diversified Spot (3 OD + 4 Spot, PDB + preStop) | 2,230 | 0.00% (0 failed) | 0.00% | 3 | 115.6 ms |
Two details stood out immediately:
- Unhedged Spot did not just spike latency—it blacked out completely from
t = 30stot = 59s, taking60.6 secondsafter uncordon to recover. - Graceful termination (
preStopsleep +PodDisruptionBudget) + an explicit On-Demand anchor absorbed 100% of the burst with zero failed HTTP requests while still keeping the majority of fleet capacity on Spot (~39% estimated savings vs. all-On-Demand).
The Practical karpenter.sh/v1 Split That Prevents Mass Extinction
Instead of putting everything into a single Spot NodePool and hoping price-capacity-optimized saves you during a regional recall, split your scheduling into:
- A guaranteed On-Demand anchor
NodePoolsized to your baseline survival floor (e.g., 25%–35% of peak safe capacity), and - AZ-partitioned, multi-family Spot
NodePools with explicit CPU/memory limits so no single AZ or CPU family exceeds ~22% of total capacity.
Here is the minimal karpenter.sh/v1 structure:
apiVersion: karpenter.sh/v1 kind: NodePool metadata: name: aegis-ondemand-anchor spec: weight: 100 limits: cpu: "24" memory: 96Gi disruption: consolidationPolicy: WhenEmptyOrUnderutilized consolidateAfter: 60s template: spec: nodeClassRef: group: karpenter.k8s.aws kind: EC2NodeClass name: aegis-al2023-default requirements: - key: karpenter.sh/capacity-type operator: In values: ["on-demand"] - key: topology.kubernetes.io/zone operator: In values: ["eu-west-1a", "eu-west-1b", "eu-west-1c"] - key: karpenter.k8s.aws/instance-family operator: In values: ["m7g", "c7g", "r7g"] --- apiVersion: karpenter.sh/v1 kind: NodePool metadata: name: aegis-spot-az-b spec: weight: 50 limits: cpu: "20" memory: 80Gi template: spec: nodeClassRef: group: karpenter.k8s.aws kind: EC2NodeClass name: aegis-al2023-default requirements: - key: karpenter.sh/capacity-type operator: In values: ["spot"] - key: topology.kubernetes.io/zone operator: In values: ["eu-west-1b"] - key: karpenter.k8s.aws/instance-family operator: In values: ["c6a", "c7g", "m6a", "m7g", "r7g"] Pair this with a PodDisruptionBudget and a short preStop hook (sleep 2 to let kube-proxy / ALB endpoints drain cleanly before SIGTERM) on your Deployment.
Two Honest Operational Limits Nobody Mentions
While testing this across real AWS CloudWatch and 2024 Azure traces, two hard boundaries showed up that are worth keeping in mind before going all-in on Spot:
- The 120-Second Cold-Start Wall: In a 1-minute resolution simulation with Spot eviction, proactive sizing beats reactive HPA cleanly when nodes boot in
0–60s. Once heavy container image pulls push node readiness to >= 120 seconds, replacement nodes cannot finish booting inside AWS's two-minute Spot interruption notice. If your pods pull multi-GB images, you need EKS Warm Pools or pre-cached Bottlerocket/AL2023 EBS snapshots—no autoscaling algorithm can beat physics. - The Savings Plan Break-Even (~1.45x Spot Price): Comparing hedged Spot against pure On-Demand yields 32%–36% savings at
99%+P99 SLA continuity. Against a fairer 1-Year AWS Compute Savings Plan + On-Demand baseline, the net margin narrows to 18%–31%—and on steady diurnal workloads, if Spot prices rise above ~1.45x baseline, a committed Savings Plan actually becomes cheaper than hedged Spot.
Code & Interactive Sandbox
I open-sourced the full benchmark suite, 28M-event discrete-event simulator, kind emulation script, and preprint write-up on GitHub:
- Repository: github.com/ahafarag/aegis-scale
- Interactive FinOps & Karpenter v1 Sandbox: aegis.zenithcodigo.com
Curious how other EKS/Karpenter teams are sizing their On-Demand floor vs. Spot split (and handling multi-AZ recalls in practice)—happy to compare notes in the comments.