Both react to a pod the scheduler could not place. Cluster Autoscaler resizes a node group and lets the Auto Scaling group launch the instance. Karpenter picks the instance itself.
Checks every 10 seconds (by default) for pods the scheduler could not place.
Watches for unschedulable pods and batches them. The window closes after 1 second without new pods, 10 seconds at most.
Finds a node group whose template would fit the pods.
Bin-packs the batch by resource requests and scheduling constraints.
Raises the size of that group.
Launches instances directly through EC2 Fleet, choosing from the instance types its NodePool allows.
no node group in betweenThe Auto Scaling group launches the instance.
through an Auto Scaling group