Feature reference
Karpenter Enterprise suite brings Cast AI's optimization capabilities to clusters running open-source Karpenter. This page provides an overview of available features and how they integrate with your existing Karpenter setup.
For a conceptual introduction to Karpenter Enterprise suite, see Karpenter Enterprise suite overview.
Feature availability
The following features are available for Karpenter-managed clusters:
| Feature | Description | Karpenter integration |
|---|---|---|
| Continuous rebalancing | Ongoing workload consolidation with container live migration capabilities | Replaces Karpenter's native consolidation |
| Rebalancer | Cluster-wide cost optimization through Node selection, replacement, and capacity failure avoidance | Coordinates with Karpenter provisioning |
| Spot intelligence | Interruption prediction, observed interruption reporting, and Spot fallback recovery | Enhances Karpenter's Spot handling |
| Capacity failure detection | Avoids recently failing instance type, zone, and capacity type combinations | Improves capacity intelligence |
| Workload Autoscaler | Continuous workload rightsizing | Feeds optimized requests to Karpenter |
| Pod mutations | Automated Pod spec adjustments | Simplifies workload configuration |
| Cost reporting | Savings analysis and cost monitoring | Read-only analysis of Karpenter clusters |
| Commitments | Uses AWS Reserved Instances and Savings Plans through weighted shadow NodePools | Steers Karpenter provisioning |
How Cast AI features work with Karpenter
Cast AI features extend Karpenter rather than replace it. The integration follows these principles:
Karpenter remains the provisioner
Node creation and deletion continue to flow through Karpenter. Cast AI influences decisions by modifying Karpenter CRDs and providing optimization signals, but Karpenter executes the actual infrastructure changes.
CRD-native configuration
Where possible, Cast AI stores configuration in Kubernetes-native formats. Your existing NodePools and EC2NodeClasses remain the source of truth for provisioning constraints.
Incremental enablement
You can enable each feature independently. You can start with cost reporting only, then gradually enable optimization features as you build confidence.
Feature details
Continuous rebalancing
Kentroller's Continuous Rebalancing monitors your cluster on a recurring cycle and consolidates underutilized nodes. When you enable Continuous Rebalancing, Kentroller takes over consolidation from Karpenter entirely. Karpenter continues to handle drift detection, but Kentroller exclusively manages cost-driven consolidation.
What it adds to Karpenter:
- Coordination with Workload Autoscaler to consolidate Pods based on actual resource usage, including pending rightsizing recommendations not yet applied
- Container Live Migration for eligible workloads, preserving Pod state and TCP connections (graceful fallback to traditional eviction included)
- Configurable modes for progressive or aggressive consolidation:
delete-empty,drain-only, andfull - Savings thresholds that ensure rebalancing only runs when projected gains are worthwhile
- Fine-grained per-Pod and per-Node eviction policies via eviction config
Protecting Nodes from consolidation
To exclude specific Nodes from Continuous Rebalancing, apply the autoscaling.cast.ai/removal-disabled label:
kubectl label node <node-name> autoscaling.cast.ai/removal-disabled=trueIn the default opt-out mode, you can exclude an entire NodePool from all rebalancing (continuous, scheduled, and drift replacement) by annotating it with kentroller.cast.ai/consolidation: "exclude". The top-level nodePoolFilterMode Helm value controls how Kentroller applies the annotation.
For full configuration details, see Continuous rebalancing.
Rebalancer
The Rebalancer optimizes your entire cluster by identifying Nodes that it can replace with more cost-effective alternatives for your workloads.
What it adds to Karpenter:
- Cross-NodePool optimization that Karpenter doesn't perform natively
- Awareness of Reserved Instances and Savings Plans
- Coordinated replacements that maintain workload stability
- Integration with Workload Autoscaler to rebalance based on optimized resource requirements
- Avoidance of recently failed instance type, zone, and capacity type combinations observed by Kentroller or Cast AI
How it differs from standard Cast AI:
| Aspect | With Karpenter | Standard Cast AI |
|---|---|---|
| Node replacement | Rebalancer cordons Nodes; Karpenter provisions replacements | Cast AI handles both cordoning and provisioning |
| Instance selection | Influences Karpenter via CRD modifications | Cast AI selects instances directly |
| Commitment awareness | No native commitments integration | Native commitments integration |
| Drain controls | Limited by Karpenter's drain behavior | Full control over drain timing and aggression |
Rebalancing scope
Karpenter Enterprise suite only rebalances nodes that Karpenter created and manages. It excludes the following nodes from rebalancing:
- Legacy nodes created before Karpenter was installed
- EKS-managed node group nodes
- Nodes created by Cluster Autoscaler or other provisioners
This limitation exists by design: Karpenter Enterprise suite operates through Karpenter's CRDs and permissions, and does not have cloud-side control over non-Karpenter nodes. If you need to optimize non-Karpenter nodes, consider migrating them to Karpenter management or using Cast AI's standard Autoscaler.
Within Karpenter-managed nodes, you can restrict which NodePools participate in rebalancing with the kentroller.cast.ai/consolidation annotation. See Node exclusions.
Spot intelligence
Cast AI improves Karpenter's Spot Instance handling with predictive capabilities and reliability improvements.
What it adds to Karpenter:
- Interruption prediction: Identifies at-risk Nodes before AWS announces interruptions
- Observed interruptions: Reports observed Spot interruptions so Cast AI can improve capacity intelligence
- Spot reliability model (coming in future releases): Steers toward historically stable Spot pools
- Spot fallback recovery: Returns On-Demand fallback Nodes to Spot after capacity becomes available again. Continuous Rebalancing performs this recovery in
fullmode
How interruption prediction works
Cast AI's Spot interruption prediction provides up to 30 minutes of advance warning, compared with AWS's standard 2-minute notice. Kentroller's prediction response differs based on whether you enable Container Live Migration:
| CLM Status | Prediction Response |
|---|---|
| Without CLM | Kentroller signals Karpenter's interruption queue, triggering Karpenter's standard node replacement workflow with extended lead time |
| With CLM | Kentroller uses Continuous Rebalancing to consolidate the at-risk node. Container Live Migration moves workloads to stable nodes with minimal disruption before the interruption occurs |
In both cases, the extended prediction window provides significantly more time for graceful workload migration compared to waiting for AWS's native interruption signal.
How it differs from standard Cast AI:
| Aspect | With Karpenter | Standard Cast AI |
|---|---|---|
| Pool selection | Influences Karpenter's instance type priorities | Cast AI selects pools directly |
| Fallback handling | Replaces On-Demand fallback Nodes with Spot via Continuous Rebalancing | Native fallback and recovery |
| Prediction response | Signals Karpenter to replace at-risk Nodes | Direct Node replacement |
For Spot handling documentation, see Spot Instances and Spot Handler.
Capacity failure detection
Kentroller records an UnavailableOffering for a specific instance type, zone ID, and capacity type combination that it must avoid temporarily. Kentroller can create the record in three cases:
- An insufficient capacity error occurs during NodeClaim creation.
- Kentroller observes a Spot interruption.
- Spot interruption prediction marks a Spot offering as risky.
Kentroller uses the record locally when it builds new plans. It reports only observed insufficient capacity errors (ICE) and observed Spot interruptions to Cast AI, enabling Cast AI to improve capacity intelligence for Karpenter-backed clusters.
Prediction-only records are not treated as observed interruptions. For the CRD reference and troubleshooting commands, see Kentroller.
Workload Autoscaler
Workload Autoscaler continuously rightsizes workloads based on actual resource usage.
What it adds to Karpenter:
- Automatic adjustment of CPU and memory requests to match actual usage
- Tighter bin-packing as rightsized workloads require less capacity
- Integration with Continuous Rebalancing and Rebalancer for coordinated optimization
How it differs from standard Cast AI:
| Aspect | With Karpenter | Standard Cast AI |
|---|---|---|
| Request updates | Workload Autoscaler updates requests; Karpenter sees new requirements | Same behavior |
| Node impact | Karpenter may consolidate as requests decrease | Cast AI coordinates this directly with Continuous Rebalancing |
| Scaling policies | Applied identically | Applied identically |
Workload Autoscaler behavior is largely identical whether you use Karpenter Enterprise suite or Cast AI's Autoscaler. It operates at the workload level independently of Node provisioning.
For Workload Autoscaler documentation, see Workload Autoscaling.
Pod mutations
Pod mutations automate Pod spec adjustments to simplify workload configuration and reduce manual efforts by teams.
What it adds to Karpenter:
- Automatic application of labels, tolerations, and NodeSelectors
- Simplified onboarding without modifying Deployment manifests
- Consistent Pod configuration across workloads
How it differs from standard Cast AI:
Pod mutations work identically with Karpenter and standard Cast AI. The mutations apply to Pod specs before creation, independent of which autoscaler provisions Nodes.
For Pod mutations documentation, see Pod mutations.
Cost reporting
The savings report and other cost monitoring capabilities provide visibility into your cluster's optimization potential without making any changes.
What it provides:
- Current vs. optimized cost comparison
- Node utilization and bin-packing analysis
- Commitment utilization tracking
- Spot adoption opportunities
- Workload rightsizing recommendations
How it differs from standard Cast AI:
Cost reporting works identically for Karpenter clusters. The analysis examines your current state and models what Cast AI optimization could achieve.
For general cost monitoring, see Cost Monitoring.
Commitments
Cast AI steers Karpenter toward AWS Reserved Instances and Savings Plans by creating weighted shadow NodePools that Karpenter prefers over regular NodePools. You import and assign commitments through the Cast AI Commitments page. Cast AI automatically syncs them to the cluster as CommitmentBudget resources. Kentroller then creates shadow NodePools, reallocates their limits, and deletes them only after they become empty.
What it adds to Karpenter:
- Commitment-aware instance selection without Karpenter having native commitment awareness
- Automatic limit rebalancing across matched NodePools based on observed provisioned capacity
- Optional node rebalancing can replace nodes when shadow NodePools exceed their CPU limits and reschedule workloads onto compatible capacity
- Support for zonal RIs, regional RIs, Compute Savings Plans, and EC2 Instance Savings Plans
For behavior and prerequisites, see Commitments in Karpenter Enterprise.
Labels reference
Karpenter Enterprise suite uses specific labels to coordinate optimization activities with Karpenter. Understanding these labels helps with troubleshooting and protecting critical nodes.
Node labels
| Label | Purpose | Applied by |
|---|---|---|
karpenter.sh/do-not-disrupt | Prevents Karpenter from consolidating or disrupting the node | Kentroller (automatically managed during consolidation) |
autoscaling.cast.ai/removal-disabled | Prevents Continuous Rebalancing from selecting the node | Customer (manual protection) |
Workload labels
| Label | Purpose | Applied by |
|---|---|---|
live.cast.ai/migration-enabled=true | Indicates the workload is eligible for Container Live Migration | Live Controller (automatic assessment) |
live.cast.ai/migration-enabled=false | Indicates the workload cannot be live-migrated | Live Controller (automatic assessment) |
Protecting nodes from optimization
To exclude a node from Continuous Rebalancing:
kubectl label node <node-name> autoscaling.cast.ai/removal-disabled=trueTo also prevent Karpenter from disrupting the node (including drift-triggered replacements):
kubectl label node <node-name> karpenter.sh/do-not-disrupt=trueFeatures not available with Karpenter
Some Cast AI capabilities require tighter integration with Node scheduling than the Karpenter-layered approach allows:
| Feature | Why it's not available | Alternative |
|---|---|---|
| Pod Pinner | Requires Cast AI Autoscaler's scheduling integration | Use Karpenter's native Pod affinity |
| Cluster hibernation | Requires direct control over Node lifecycle | Use Karpenter's NodePool weight=0 for manual scaling |
| Commitment-aware instance selection (Rebalancer) | Rebalancer cannot influence Karpenter's instance selection | Use Commitments to steer Karpenter with shadow NodePools |
Additionally, the following Rebalancer capabilities are not available when using Karpenter (see Rebalancing scope for details):
- Aggressive mode
- Graceful eviction controls
- Paused drain configuration
- Progress bar in UI
To benefit from these capabilities, consider migrating to Cast AI Autoscaler.
Related resources
Updated 2 days ago
