How do you run batch jobs at scale cheaply?
IntermediateScenarioEKS and cluster operations
Answer
Situation read → Nightly ETL with 500 pods.
What I'd do →
- Use Jobs with
parallelismandcompletions - Run on Spot via Karpenter NodePool
- Use indexed Jobs
- Set resource requests accurately
- Use
ttlSecondsAfterFinished
Why → Batch tolerates interruption, so spot saves cost.
Interview tip → Consider Argo Workflows or Volcano.
More on EKS and cluster operations
How do you create a production-ready EKS cluster and what do you decide up front?BeginnerPods on EKS run out of IP addresses. What happened and how do you fix it?IntermediateHow do you give a new engineer access to an EKS cluster?IntermediateCompare managed node groups, self-managed nodes, Fargate and Karpenter.IntermediateHow do you upgrade an EKS cluster from 1.31 to 1.32 with minimal risk?AdvancedA node group upgrade is slow or stuck on EKS. What do you look at?Intermediate