Cut EKS compute cost by 40% without hurting reliability. What's your plan?

AdvancedScenarioCost
Answer

Situation read → EKS waste comes from three places: inflated pod requests, poorly packed nodes, and paying on-demand prices for everything.

What I'd do →

  1. Right-size requests using real usage (VPA in recommendation mode or Prometheus p95 over two weeks). Requests drive node count; inflated requests mean idle nodes.
  2. Bin-pack better with Karpenter consolidation, so underused nodes are removed and pods are repacked.
disruption:
  consolidationPolicy: WhenEmptyOrUnderutilized
  consolidateAfter: 5m
  1. Spot for stateless workloads with diverse instance families, and on-demand for stateful and critical system pods.
  2. Graviton where images support arm64.
  3. Savings Plans (Compute) for the steady baseline that's left after the above.
  4. Protect reliability: PodDisruptionBudgets, topology spread across AZs, and Karpenter disruption budgets so consolidation never removes too much at once.

Why → Do it in this order: right-size first, then commit. Buying Savings Plans before right-sizing locks in waste.

Interview tip → The order (right-size → pack → spot → commit) is the senior answer.

All Real-World Interview questions Roadmap: Interview readiness

More on Cost