Interview Prep/Kubernetes/Scheduling, Resources & Autoscaling

How does Karpenter provision nodes differently from Cluster Autoscaler?

AdvancedConceptScheduling, Resources & Autoscaling
Answer

Karpenter watches unschedulable Pods, batches them, and picks the cheapest fitting instance types (Spot or On-Demand) from NodePool constraints and EC2NodeClass settings, launching EC2 directly via the Fleet API in under a minute. It also consolidates (replaces or removes nodes to cut cost) and handles drift and expiry (expireAfter).

All Kubernetes questions Roadmap: Kubernetes core

More on Scheduling, Resources & Autoscaling