Interview Prep/AWS/EKS in Production

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.

aws All AWS questions Roadmap: EKS, ECS & serverless on AWS

More on EKS in Production