How do you handle Spot interruptions on EKS?
AdvancedProductionEKS in Production
Answer
Karpenter has native interruption handling: point it at an SQS queue fed by EventBridge rules for Spot interruption warnings, rebalance recommendations, scheduled maintenance and instance state changes. It cordons and drains the node, and launches a replacement ahead of time. Workloads need multiple replicas, PDBs, terminationGracePeriodSeconds under the two-minute warning, and spread across instance types and AZs. Keep stateful and singleton workloads on On-Demand.
More on EKS in Production
Managed node groups, self-managed nodes, Fargate, Karpenter or Auto Mode: how do you choose?IntermediateHow do you design Karpenter NodePools for production?AdvancedIRSA or EKS Pod Identity for new clusters?IntermediateHow do you manage who can access the EKS API?IntermediateHow do you run EKS version upgrades safely?AdvancedWhat happens if you stay on an old EKS version?Beginner