What are Spot instances good for on Kubernetes?
BeginnerProductionAutoscaling, Capacity & Cost
Answer
Stateless, fault-tolerant workloads and batch jobs, at up to about 60-90% discount. Handle two-minute interruption notices (Karpenter and the AWS Node Termination Handler drain nodes), diversify over many instance types and zones, keep PDBs and enough replicas, and keep critical or stateful workloads on On-Demand.
More on Autoscaling, Capacity & Cost
How do you right-size requests and limits?BeginnerWhy does HPA need accurate CPU requests?BeginnerHow do you reduce Kubernetes cost quickly?BeginnerWhat is metrics-server and what does it not do?BeginnerWhat is a good default for the node size and why?BeginnerWhat labels are needed for cost allocation?Beginner