Pods sit Pending for nine minutes during a traffic spike, and the node autoscaler looks healthy. The Auto Scaling group hit its ceiling, so no new node can arrive. That incident is where karpenter vs cluster autoscaler stops being a feature debate. This EKS runbook compares both tools on speed, Spot handling, and cost control, then shows karpenter nodepool limits, disruption budgets, and a migration path that keeps the bill bounded.
Karpenter vs Cluster Autoscaler: The EKS Verdict First
For most EKS teams, Karpenter is the better default node autoscaler in 2026. It provisions nodes directly from pending pod requests, packs them tighter, and handles Spot with wider instance choice. Keep Cluster Autoscaler when node groups are few, stable, and already tuned, or when your cloud has no production Karpenter provider.
Start with the decision, then read the mechanisms. Karpenter and Cluster Autoscaler solve the same problem: pods cannot schedule, so the cluster needs nodes; load falls, so the cluster should release nodes. They differ in the unit they control. Cluster Autoscaler controls node groups that you designed in advance. On AWS those groups are Auto Scaling groups, usually behind EKS managed node groups. Karpenter controls individual nodes. It reads pending pod requests and launches an instance shape that fits them, with no Auto Scaling group in the path.
That one difference drives every other row in the comparison. Speed, cost, Spot behaviour, and operational effort all follow from group based scaling versus node based provisioning.
| Decision point | Karpenter on EKS | Cluster Autoscaler on EKS |
|---|---|---|
| Scaling unit | Individual EC2 instances chosen per launch | Predefined Auto Scaling groups |
| Configuration object | Karpenter NodePool plus EC2NodeClass | Node groups plus controller flags |
| Instance choice | Any allowed type that fits pending pods | Only types inside your groups |
| Reported node arrival | About 45 to 60 seconds in current guides | About 3 to 4 minutes through ASG machinery |
| Scale-down style | Consolidation repacks pods onto fewer nodes | Removes nodes under a utilization threshold |
| Cost ceiling | NodePool CPU and memory limits | Sum of group maximum sizes |
| Spot model | Wide instance choice with interruption queue | Mixed instance groups with allocation strategy |
| Managed option | EKS Auto Mode runs Karpenter for you | No AWS managed equivalent |
Version context matters for this comparison. Checked on 5 December 2026, Karpenter v1.15.1 (23 October 2026) is the v1 release line current guides pin, and Cluster Autoscaler 1.37.0 shipped on 6 November 2026 for the Kubernetes 1.37 line. Pin both versions in your platform code and recheck release notes before an upgrade. The karpenter.sh/v1 API is the API to write against. Examples in v1beta1 form still circulate, and copying them into a v1 cluster creates objects that apply cleanly and behave differently than expected.
Choose Karpenter when workloads vary in shape, Spot carries real traffic, or node groups keep stranding capacity in the wrong size. Choose Cluster Autoscaler when the fleet is small, instance shapes are stable, and the team already runs tuned groups with known ceilings. Choose EKS Auto Mode when you want Karpenter behaviour without running the controller, and you accept AWS managed node constraints.
One boundary before the detail: node autoscaling is not pod autoscaling. HPA and KEDA decide how many pods exist. Karpenter and Cluster Autoscaler decide how many nodes exist. The KEDA Kubernetes guide for event driven pod scaling covers the pod side. This guide covers the node side, and the two layers must agree on requests, or both will misbehave.
The 970+ Incident Handbook & K8s Runbooks are exclusive to subscribers — unlock for FREE
Get battle-tested production runbooks, AWS architecture blueprints, and zero-downtime CI/CD post-mortems sent directly to your inbox. 100% free, no spam.
How Cluster Autoscaler Works on EKS Node Groups
Cluster Autoscaler watches for unschedulable pods, simulates adding one node from each node group template, and grows the group chosen by its expander. On EKS it raises the desired count of an Auto Scaling group. Scale-down removes nodes whose requested utilization stays under the threshold for the unneeded timer.
Cluster Autoscaler is a controller for node groups. It polls the Kubernetes API, finds pods that the scheduler cannot place, and asks a narrow question: which existing node group could fit these pods if it grew by one node? It simulates that node from the group template, including labels, taints, and allocatable resources. The expander then picks a winning group. Common expanders are random, most-pods, least-waste, and priority. Least-waste picks the group that leaves the least idle capacity after the pending pods land. Priority uses regex patterns over group names, which is how teams prefer Spot groups before on-demand groups.
Once a group wins, Cluster Autoscaler raises the desired capacity of the underlying Auto Scaling group and waits. The ASG launches instances from its launch template, the kubelet registers, the CNI becomes ready, and only then can pods schedule. That chain explains the slower arrival range. The controller decision is fast. The group machinery around it is not.
Scale-down is simpler than most teams expect. By default, a node becomes a removal candidate when its requested utilization stays under 50 percent for 10 minutes, controlled by the scale-down-utilization-threshold and scale-down-unneeded-time flags. Utilization here means pod resource requests against node capacity, not measured CPU or memory use. Cluster Autoscaler checks that the node pods can reschedule elsewhere, respects PodDisruptionBudgets, drains the node, and reduces the group size. It does not repack running pods to create empty nodes. A fleet can sit half empty across many nodes and stay that way, because no single node crosses the removal line with a safe reschedule path.
A typical EKS deployment keeps the controller in kube-system with auto-discovery by ASG tags:
helm upgrade --install cluster-autoscaler autoscaler/cluster-autoscaler --namespace kube-system --set autoDiscovery.clusterName=prod-eks --set awsRegion=us-east-1 --set extraArgs.expander=least-waste --set extraArgs.scale-down-unneeded-time=10m --set extraArgs.scale-down-utilization-threshold=0.5 --set extraArgs.balance-similar-node-groups=true --set extraArgs.skip-nodes-with-system-pods=false
The hard constraint is group design. Every instance shape you might need must exist as a group before the incident. A memory heavy batch pod, a GPU pod, and a small web pod can need three groups, each split across zones and capacity types. Groups multiply fast, and each group carries its own minimum and maximum. Scale from zero adds another wrinkle: to grow an empty group, Cluster Autoscaler reads node template data from ASG tags, so labels and taints must be mirrored in tags or the simulation is wrong.
None of this makes Cluster Autoscaler a bad tool. It is mature, predictable, and portable across clouds. Its cost ceiling is easy to explain: the sum of group maxima. Its failure modes are well known. The price of that predictability is shape rigidity. When pending pods do not match any group shape well, the cluster pays for headroom it cannot use, or waits while a ceiling blocks growth. That is the gap Karpenter was built to close.
How a Karpenter NodePool Provisions Nodes on EKS
A Karpenter NodePool defines which nodes may launch, how much total capacity the pool may hold, and how nodes may be disrupted later. Karpenter batches pending pods, bin-packs their requests against allowed instance types, and calls EC2 directly. EC2NodeClass supplies AMI, subnets, security groups, and IAM role details.
Karpenter starts from pod geometry. When pods go unschedulable, the controller aggregates their CPU, memory, and other resource requests, applies node affinity, tolerations, topology spread constraints, and volume needs, then bin-packs the batch against every instance type the Karpenter NodePool allows. It picks offerings that fit at the lowest price, then calls the EC2 fleet APIs directly. Each launched node gets a NodeClaim object that tracks the request until the kubelet registers the node Ready.
Three objects split the configuration. The NodePool, API karpenter.sh/v1, is scheduling policy: requirements, taints, limits, disruption rules, and node expiry. The EC2NodeClass, API karpenter.k8s.aws/v1, is AWS build detail: AMI selection, subnet and security group selectors, IAM role, block devices, and user data. The NodeClaim is created by Karpenter itself. You write the first two. Karpenter writes the third.
A production shaped NodePool looks like this:
apiVersion: karpenter.sh/v1
kind: NodePool
metadata:
name: general
spec:
template:
metadata:
labels:
pool: general
spec:
nodeClassRef:
group: karpenter.k8s.aws
kind: EC2NodeClass
name: default
requirements:
- key: kubernetes.io/arch
operator: In
values: ["amd64", "arm64"]
- key: karpenter.sh/capacity-type
operator: In
values: ["spot", "on-demand"]
- key: karpenter.k8s.aws/instance-category
operator: In
values: ["c", "m", "r"]
- key: karpenter.k8s.aws/instance-generation
operator: Gt
values: ["5"]
- key: topology.kubernetes.io/zone
operator: In
values: ["us-east-1a", "us-east-1b", "us-east-1c"]
expireAfter: 720h
limits:
cpu: "200"
memory: 800Gi
disruption:
consolidationPolicy: WhenEmptyOrUnderutilized
consolidateAfter: 5m
budgets:
- nodes: "10%"
Read the requirements block as a filter, not a shape. It says which instance families, architectures, zones, and capacity types are legal. Karpenter chooses the exact type at launch time from the pending pod batch. Broad requirements produce better packing and better Spot availability. Narrow requirements recreate the node group problem inside a NodePool, with the same stranded capacity and fewer tools to see it.
Installation still needs AWS plumbing before the first NodePool: IAM roles for the controller and nodes, subnet and security group discovery tags, and an SQS interruption queue wired to EventBridge for Spot and maintenance events. Teams usually build that layer with Terraform next to the cluster. The production EKS architecture guide covers the cluster foundation this sits on.
After launch, Karpenter keeps working. Consolidation looks for nodes whose pods fit elsewhere or on a cheaper shape, then drains and terminates them. Drift replaces nodes whose template changed. Expiry recycles nodes on your schedule, which doubles as a patching cadence. Disruption budgets rate limit all of it. Cluster Autoscaler has no equivalent repacking loop, and that loop is where most of the cost difference lives.
Provisioning Speed: Direct EC2 Calls vs ASG Queues
Karpenter nodes commonly register in about 45 to 60 seconds because Karpenter calls EC2 directly and skips Auto Scaling group reconciliation. Cluster Autoscaler commonly needs about 3 to 4 minutes because the ASG must launch, boot, and register instances. Image pulls, kubelet startup, and CNI readiness add variance to both paths.
Speed claims in this comparison need care, because node arrival has four stages: controller decision, instance launch, node boot and kubelet registration, and pod startup with image pulls. The autoscalers differ mainly in the first two stages. The last two stages punish both tools equally, and teams often blame the autoscaler for a slow image pull.
Karpenter shortens the launch stage. It batches pending pods, runs its bin-packing simulation, and calls EC2 fleet APIs for the chosen instance types. There is no desired capacity reconciliation loop and no group template simulation against a fixed shape. Current guides report nodes registering in about 45 to 60 seconds on EKS. Treat that as a reported range under good conditions, not a service level. Instance boot time, kubelet startup, VPC CNI readiness, and capacity availability still vary by zone and instance family.
Cluster Autoscaler adds the ASG stage. It decides quickly, then raises desired capacity and waits for the group to deliver instances through its launch template. Current guides report about 3 to 4 minutes to a schedulable node. Managed node groups add their own reconciliation on top. During a spike, that gap is the difference between pods starting inside the traffic ramp and pods starting after the error budget took the hit.
Measure speed on your cluster instead of trusting either range. Run a load test that creates pending pods on purpose, then time each stage:
kubectl get pods -w -l app=load-test
kubectl get nodeclaims -w
kubectl get events --sort-by=.lastTimestamp | tail -n 50
kubectl describe pod <pending-pod> | grep -A5 Events
For Cluster Autoscaler, read the controller logs for scale-up simulation and ASG activity, then compare timestamps with node Ready events. For Karpenter, NodeClaim status shows launch and registration timing per node. Record p50 and p95 arrival time by zone and capacity type. Spot launches can be slower or fail into on-demand fallback when capacity is thin, and that behaviour belongs in the test results, not in a surprise during an incident.
Two speed traps apply to both tools. First, oversized pod requests distort packing. A pod requesting 4 CPU while using 400 millicores forces node launches that real usage never needed, and consolidation maths inherits the lie. Second, topology spread constraints and anti-affinity can make a fast launch useless if the new node lands in the wrong zone. Speed is a property of the whole scheduling chain: requests, constraints, image size, and node arrival together.
If your incident history shows pending pods waiting on group ceilings or slow ASG delivery, Karpenter removes a real bottleneck. If pending pods wait on image pulls or zone constraints, fix those first. A faster node that still cannot run the pod changes nothing.
Cost Control: Karpenter NodePool Limits vs ASG Ceilings
Karpenter controls cost with NodePool CPU and memory limits, consolidation that repacks pods onto fewer nodes, and disruption budgets that cap churn. Cluster Autoscaler controls cost with group maximum sizes and threshold based scale-down. Karpenter saves more when requests are honest; loose limits turn either tool into an unbounded spender.
Cost is where karpenter vs cluster autoscaler earns or loses trust. Karpenter saves money in three ways. It sizes nodes to pending pods instead of fixed shapes. It keeps repacking running workloads through consolidation, so capacity freed by a scale-down event becomes a terminated node instead of stranded headroom. It makes Spot practical by choosing across many instance types and zones at launch time. Cluster Autoscaler saves money in one way: it removes nodes that stay under the utilization threshold. That is real, but it cannot fix a fleet of half empty nodes whose pods never trigger removal.
The ceiling mechanisms differ, and both need explicit values. With Cluster Autoscaler, the ceiling is the sum of group maximum sizes, priced at each group shape. That is easy to audit and easy to get wrong: five groups with a maximum of 20 each is a 100 node ceiling whether the budget agrees or not. With Karpenter, the ceiling is the karpenter nodepool limits block: total CPU and memory the pool may hold across all its nodes. Set limits per pool, and give every pool one. A pool without limits can scale until the AWS account limits stop it, which is a finance incident with extra steps.
Consolidation settings decide how hard Karpenter pushes savings against stability. Three policies exist in the v1 API. WhenEmpty removes only nodes with no workload pods. Balanced, generally available since v1.14.0, scores nodes by consolidation value and targets the best candidates. WhenEmptyOrUnderutilized evaluates all nodes and is the default. The consolidateAfter timer defaults to 0s, which means a node becomes a candidate the moment pods change. For production services, raise consolidateAfter to 5 to 15 minutes so a node must stay quiet before Karpenter touches it, and add a scheduled budget that blocks underutilized consolidation during peak hours:
disruption:
consolidationPolicy: WhenEmptyOrUnderutilized
consolidateAfter: 10m
budgets:
- nodes: "10%"
- nodes: "0"
reasons: ["Underutilized"]
schedule: "0 9 * * mon-fri"
duration: 8h
The default budget allows disruption of 10 percent of the pool at once. Keep it until you have evidence for a different value, and remember that budgets count nodes being deleted and nodes not Ready, so a small pool can have a budget of one node in practice.
Consolidation has a price. Moving pods costs startup latency, cache warmth, and connection churn. At small scale that is invisible. At larger scale, unconstrained consolidation can trigger waves of rescheduling that hurt the very services it saves money on. PodDisruptionBudgets, the karpenter.sh/do-not-disrupt annotation for pods that must not move, and honest termination grace periods are the guardrails. Pair the node layer with the request layer: right-size requests first, then let consolidation pack against truth. The AWS cost reduction guide covers the wider bill, and node waste is usually the largest line inside it.
A simple cost test settles arguments. Run both tools against the same staging workload for a week each, record node hours by capacity type, pending pod time, and disruption counts, then compare cost per thousand requests served. Savings that arrive with rising p95 latency are not savings. They are a transfer from the cloud bill to the error budget.
Spot Handling: Interruption Queues, Diversification and Fallback
Karpenter handles Spot by spreading launches across many instance types and zones, listening to an SQS interruption queue, and falling back to on-demand when Spot capacity is thin. Cluster Autoscaler handles Spot through mixed instance groups with a capacity optimized allocation strategy. Both paths need replicas, PodDisruptionBudgets, and clean shutdown inside the two minute warning.
Spot capacity is spare EC2 capacity sold at a discount, with a two minute interruption warning before reclaim. Node autoscaling decides whether that warning becomes a non-event or an outage. The tools differ in how they find Spot capacity and how they react when it disappears.
Karpenter treats Spot as a launch choice inside the NodePool. Requirements allow spot and on-demand capacity types together, and the controller picks offerings across instance families, sizes, and zones for each pending pod batch. Diversity is the availability strategy: more candidate instance types means more Spot pools to draw from. Current AWS guidance notes that Spot-to-Spot consolidation needs at least 15 candidate instance types, so a narrow NodePool quietly disables that saving. When EC2 sends an interruption notice, EventBridge forwards it to the SQS queue Karpenter watches. Karpenter cordons and drains the node ahead of the reclaim and launches replacement capacity, on Spot if available, on-demand if not.
Cluster Autoscaler treats Spot as a group design problem. You build mixed instance groups with several instance types and the capacity-optimized allocation strategy, which launches into pools with the most spare capacity rather than the cheapest pools. The expander decides whether Spot groups grow before on-demand groups. Interruption handling needs a separate component, typically the AWS Node Termination Handler, to drain nodes on Spot notices, rebalance recommendations, and scheduled maintenance events. It works, but the moving parts are yours to assemble and keep assembled.
kubectl get nodeclaims -o wide
kubectl get nodes -L karpenter.sh/capacity-type,node.kubernetes.io/instance-type,topology.kubernetes.io/zone
kubectl get events --field-selector reason=SpotInterrupted -A
Whichever tool you run, the workload rules are identical and non-negotiable. Services need at least two replicas spread across zones. PodDisruptionBudgets must allow voluntary disruption without dropping below safe capacity. Pods must shut down cleanly inside the two minute warning, which means termination grace periods and preStop handling need testing, not hope. Stateful workloads with zone bound volumes need care: a replacement node in another zone cannot attach the same EBS volume, so those pools often stay on-demand or use WhenEmpty consolidation.
Taints keep the contract explicit. Put a Spot taint on Spot capacity so only pods that opt in land there, and keep system pods and single replica services on on-demand nodes. With Karpenter, the NodePool template carries the taint and workload tolerations opt in. With Cluster Autoscaler, group taints must be mirrored in ASG template tags or scale-from-zero simulation breaks.
Measure Spot quality, not just Spot share. Track interruption rate per pool, replacement time, and failed launches that fell back to on-demand. A pool that is 90 percent Spot with weekly capacity failures during peaks may cost more in incidents than a 50 percent Spot pool with wide diversity. The discount is the easy part. Surviving the reclaim is the engineering.
EKS Auto Mode, Self-Managed Karpenter or Cluster Autoscaler
EKS Auto Mode runs Karpenter for you with AWS managed nodes and the same NodePool API, at the cost of node level control. Self-managed Karpenter keeps AMI, access, and cost model choices with your team. Cluster Autoscaler stays the portable option when node groups are stable or the cloud lacks a production Karpenter provider.
On EKS there are now three ways to run node autoscaling, and karpenter vs cluster autoscaler is only two of them. EKS Auto Mode is Karpenter operated by AWS. The controller runs off-cluster under AWS management, nodes use managed Bottlerocket images, and you still define NodePools with the same karpenter.sh/v1 API. Built-in system and general-purpose NodePools cannot be modified, only enabled or disabled, and you can add custom NodePools for your workloads. Capacity preference in Auto Mode is reserved, then spot, then on-demand.
Auto Mode removes real work: controller upgrades, node AMI patching, and much of the node lifecycle toil. In exchange it removes control. Nodes are immutable with no SSH or SSM access, node lifetime is capped, and some labels and instance options differ from self-managed Karpenter. There is also a per node management charge on top of EC2 pricing, so read the current EKS pricing page when you model cost instead of trusting third party percentages.
| Option | You run | Node control | Best fit |
|---|---|---|---|
| EKS Auto Mode | NodePools only | AWS managed images and lifecycle | Teams that want Karpenter behaviour with low node toil |
| Self-managed Karpenter | Controller, NodePools, EC2NodeClasses | AMI, access, disks, user data | Teams with custom images, GPU shapes, or strict cost models |
| Cluster Autoscaler | Controller and node groups | Full group and launch template control | Stable shapes, small fleets, non-AWS portability needs |
Self-managed Karpenter remains the answer when you need custom AMIs, instance store layouts, specific kernel settings, or a cost model you can tune line by line. GPU pools with pre-warmed images are the classic case. The operational price is yours: controller upgrades, CRD version care, IAM and queue plumbing, and testing each release against your NodePools.
Cluster Autoscaler keeps one clear advantage: portability. It runs on AWS, GCP, and Azure with the same mental model. As of mid-2026 there is still no official Karpenter provider for GKE, so GKE teams stay on Cluster Autoscaler for production node scaling. Azure has a production Karpenter path through AKS Node Auto Provisioning. If your platform spans clouds and one autoscaler model matters more than EKS specific gains, that portability can decide the question.
Many EKS clusters end up hybrid during transition: a small on-demand node group or Auto Mode system pool for cluster add-ons, Karpenter pools for application capacity, and Cluster Autoscaler removed once migration completes. Running Karpenter and Cluster Autoscaler against the same capacity at the same time is the one combination to avoid. Two controllers making node decisions for the same pods produce fights that look like random scaling bugs.
Migration Runbook: Move From Cluster Autoscaler to Karpenter
Migrate in parallel, never by swapping controllers on live capacity. Install Karpenter with its own NodePools, taint new capacity so only test workloads land there, move one service at a time, then shrink node groups as Karpenter proves itself. Remove Cluster Autoscaler only after Karpenter owns all application capacity for a full traffic cycle.
Migration is where this comparison becomes a runbook. The safe pattern is parallel capacity with gradual traffic movement. Karpenter and Cluster Autoscaler must never manage the same nodes, so give Karpenter its own pools and keep node groups untouched until workloads move.
Step one is foundations. Build the Karpenter IAM roles, discovery tags, and interruption queue with the same infrastructure code that owns the cluster. Install a pinned Karpenter chart version, v1.15.x at the time of writing, and verify the controller is healthy before any NodePool exists:
helm upgrade --install karpenter oci://public.ecr.aws/karpenter/karpenter --version 1.15.1 --namespace kube-system --set settings.clusterName=prod-eks --set settings.interruptionQueue=prod-eks --wait
kubectl get pods -n kube-system -l app.kubernetes.io/name=karpenter
kubectl get crd nodepools.karpenter.sh ec2nodeclasses.karpenter.k8s.aws
Step two is a guarded first pool. Create one Karpenter NodePool for a low risk workload class with tight limits, a 10 percent disruption budget, consolidateAfter at 10 minutes, and a taint so only workloads that tolerate it can land. Add the toleration to one stateless service with at least two replicas and a PodDisruptionBudget. Watch NodeClaims, node arrival time, and pod startup through a normal traffic peak and a deploy.
Step three is workload by workload movement. For each service, confirm requests are honest, replicas spread across zones, and shutdown fits inside grace periods. Add the pool toleration, roll the deployment, and let Karpenter launch capacity. As Karpenter nodes take the load, reduce the matching node group maximum in small steps. Never set a group maximum to zero while pods still depend on it. Keep one small on-demand group or pool for system add-ons until the end.
Step four is cost and stability proof. Compare node hours, Spot share, pending pod time, and disruption counts against the Cluster Autoscaler baseline week. Tune requirements breadth, limits, and consolidation settings from evidence. This is also the moment to align the cluster version: the EKS 1.37 upgrade guide covers upgrade readiness, and autoscaler versions should move with the Kubernetes minor version they support.
Step five is removal. Once Karpenter owns all application capacity through a full traffic cycle, including a peak and a Spot interruption or a simulated drain, scale node groups to zero, uninstall Cluster Autoscaler, and delete the ASG tags it used. Keep the rollback path documented until the next release cycle: node group definitions in code, the Cluster Autoscaler chart values, and the toleration changes per service.
The migration failure mode to avoid is the big bang. Swapping controllers on a Friday with untested requests and no disruption budgets turns a cost project into an incident review. Parallel capacity costs a little more for a few weeks and buys evidence at every step. That trade is worth it.
Workload Rules That Decide Whether Either Tool Works
Both autoscalers pack against pod resource requests, so inflated requests strand capacity and tiny requests cause noisy neighbours. Replicas, topology spread, PodDisruptionBudgets, and tested shutdown behaviour decide whether node changes feel invisible. Fix requests and disruption safety before blaming the autoscaler for cost or churn.
Node autoscalers cannot fix workload lies. Both tools schedule and pack against resource requests. A pod that requests 2 CPU and uses 200 millicores makes every node look full at one tenth of real load. Karpenter consolidation then packs against the inflated numbers and saves less than the demo promised. Cluster Autoscaler scale-down uses the same requests based utilization, so inflated requests also block node removal. Right-sizing requests is the first cost project, and it pays under either tool.
Set requests from observed usage with headroom for peaks, and set limits with care. CPU limits can throttle latency sensitive services in ways that look like autoscaler churn. Memory limits decide OOM behaviour, not scheduling. Review requests per service on a cadence, using usage percentiles rather than averages, and treat a service with no resource requests as a platform bug. Pods without requests schedule anywhere and pack nowhere.
Disruption safety is the second rule set. Every service that matters needs a PodDisruptionBudget that matches its real availability floor. A budget that allows zero voluntary disruptions will block consolidation and node upgrades, which is sometimes correct for a stateful system and often an accident for a stateless one. Topology spread constraints should spread replicas across zones without making scheduling impossible during a zone loss. The karpenter.sh/do-not-disrupt annotation protects individual pods from voluntary disruption; use it for short lived critical work, not as a permanent shield for a whole service.
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: api
spec:
minAvailable: 2
selector:
matchLabels:
app: api
Shutdown behaviour is the third rule. Node changes, Spot reclaims, and consolidation all end with pod termination. The pod must stop taking traffic, finish or hand off in-flight work, and exit inside its grace period. Test this with a deliberate node drain in staging and watch error rates, not just pod states. The Kubernetes production runbook atlas collects the node and pod failure checks that pair well with these tests.
Architecture choices sit under all three rules. Single replica services cannot survive any node change without downtime. Services with local state on node disks cannot move freely. Batch jobs with long runtimes need checkpointing or on-demand pools. Name these constraints per workload class and encode them in pools, taints, and budgets. The autoscaler then executes a policy you designed, instead of discovering your constraints during an incident.
A useful readiness checklist before choosing or migrating: requests reviewed in the last quarter, replicas at two or more for user facing services, PodDisruptionBudgets on every production deployment, topology spread across zones, drain test passed in staging, and Spot opt-in marked per service. Clusters that pass this list get the advertised benefits from either tool. Clusters that fail it get churn with better marketing.
Troubleshooting Karpenter vs Cluster Autoscaler on EKS
Debug pending pods by stage: scheduler events first, then autoscaler decisions, then node launch, then pod startup. Karpenter failures usually trace to narrow NodePool requirements, missing limits, or disruption settings. Cluster Autoscaler failures usually trace to group ceilings, template tag gaps, or expander choices. Measure node arrival before changing tools.
When scaling misbehaves, karpenter vs cluster autoscaler debugging follows the same chain: why is the pod pending, what did the autoscaler decide, did a node launch, did the node become Ready, and did the pod start? Skipping stages produces superstition. Work the chain in order and keep timestamps.
| Symptom | Likely cause | Fix |
|---|---|---|
| Pods pending, no scale-up | Requests exceed any node shape, or constraints exclude all capacity | Read scheduler events, compare requests with largest allowed instance, widen requirements or group shapes |
| Karpenter launches nothing | NodePool limits reached, or requirements exclude the pending pod zone or architecture | Check pool limits and NodeClaim events, align requirements with pod affinity and tolerations |
| Karpenter launches too many nodes | Missing limits, inflated requests, or HPA and node scaling chasing each other | Set NodePool CPU and memory limits, right-size requests, add HPA stabilization |
| Consolidation churns pods at peak | consolidateAfter too low, budgets too loose | Raise consolidateAfter to 5 to 15 minutes, add a peak hours budget, check PodDisruptionBudgets |
| Cluster Autoscaler ignores a group | ASG tags missing, or template labels not mirrored for scale from zero | Fix discovery and node template tags, verify with controller logs |
| Nodes arrive but pods stay pending | Zone mismatch, taint without toleration, or image pull failure | Compare node labels and taints with pod spec, check image pull events and registry access |
| Spot nodes vanish during peaks | Narrow instance diversity, single zone pool | Widen families and zones, keep on-demand fallback, verify interruption queue delivery |
| Scale-down never happens | Utilization threshold not crossed, system pods block removal, budgets block drains | Review requests based utilization, skip-nodes settings, and PodDisruptionBudget floors |
Useful commands for both paths:
kubectl describe pod <pending-pod>
kubectl get events -A --sort-by=.lastTimestamp | tail -n 80
kubectl get nodeclaims -o wide
kubectl logs -n kube-system -l app.kubernetes.io/name=karpenter --tail=200
kubectl logs -n kube-system -l app=cluster-autoscaler --tail=200
kubectl get nodes -L karpenter.sh/capacity-type,topology.kubernetes.io/zone
For interview style depth on the architecture contrast, the companion Karpenter vs Cluster Autoscaler interview comparison covers the decision matrix in question form. This runbook stays on operator checks: limits, budgets, queues, tags, and measured arrival times.
Close with a rollout checklist. Requests reviewed and honest. NodePool limits set on every pool, or group maxima priced and approved. Disruption budgets and consolidateAfter tuned for peak hours. Spot diversity wide enough to survive a reclaim, with on-demand fallback. PodDisruptionBudgets and drain tests passed. Node arrival measured at p50 and p95. Migration done in parallel with a documented rollback. When those boxes are checked, karpenter vs cluster autoscaler becomes a measured platform choice instead of a recurring argument, and the cluster scales without cost surprises.
Frequently Asked Questions
Direct answers to common technical, architectural, and production troubleshooting questions.
Is Karpenter faster than Cluster Autoscaler?
In karpenter vs cluster autoscaler comparisons, Karpenter nodes commonly register in about 45 to 60 seconds because Karpenter calls EC2 directly. Cluster Autoscaler commonly needs about 3 to 4 minutes through Auto Scaling group machinery. Image pulls, kubelet startup, and CNI readiness add variance to both, so measure node arrival on your own cluster.
Does Karpenter replace Cluster Autoscaler on EKS?
For most EKS clusters, yes. Karpenter replaces node groups with a karpenter nodepool that launches instance shapes fitted to pending pods, consolidates underused nodes, and handles Spot across many instance types. Keep Cluster Autoscaler when shapes are stable, the fleet is small, or portability across clouds matters more than EKS specific gains.
How do I stop Karpenter launching too many nodes?
Set karpenter nodepool limits for total CPU and memory on every pool, right-size pod requests so packing uses honest numbers, and add HPA stabilization so pod scaling does not chase node scaling. Tighten requirements only where a real constraint exists, because narrow requirements strand capacity and slow Spot fallback.
When should EKS teams keep Cluster Autoscaler?
Keep Cluster Autoscaler when node groups are few and stable, ceilings are already priced and approved, and pending pod incidents are rare. It is also the production choice on GKE, where no official Karpenter provider exists as of mid-2026. In karpenter vs cluster autoscaler terms, predictability is the Cluster Autoscaler strength.
What is a Karpenter NodePool and an EC2NodeClass?
A karpenter nodepool is the scheduling policy: allowed instance families, architectures, zones, capacity types, total limits, and disruption rules. An EC2NodeClass is the AWS build detail: AMI, subnets, security groups, IAM role, and disks. Karpenter combines both to launch a node, and records the request as a NodeClaim.