Overview

Karpenter Enterprise suite works alongside open-source Karpenter without replacing it. Its optimization features help you capture additional savings, improve operational stability, and gain visibility into cluster efficiency.

Supported platforms

Karpenter Enterprise suite supports the following platforms and Karpenter deployment modes:

  • Amazon EKS, in either configuration:
    • Clusters running self-managed Karpenter 1.0.0 or later.
    • Clusters with Amazon EKS Auto Mode enabled. Auto Mode is EKS's managed Karpenter offering; Cast AI detects and integrates with it automatically.
  • Microsoft AKS, in either configuration:
    • Clusters running self-managed Karpenter 1.0.0 or later.
    • Clusters with Node Auto-Provisioning (NAP) enabled. NAP is AKS's managed Karpenter offering; Cast AI detects and integrates with it automatically.

Why Karpenter Enterprise suite

Open-source Karpenter handles Pod scheduling and Node provisioning effectively. However, organizations running Karpenter at scale often encounter gaps that the open-source project doesn't address:

Cost visibility gaps
Karpenter provisions Nodes based on Pod requirements, but has no awareness of your organization's Reserved Instances, Savings Plans, or negotiated discounts. This can lead to underutilized commitments and missed savings opportunities.

Consolidation limitations
Karpenter's built-in consolidation works at the Node level but doesn't coordinate with workload rightsizing or account for the actual resource utilization patterns of your applications.

Spot reliability concerns
While Karpenter supports Spot Instances, it treats all Spot pools equally and relies on the standard two-minute interruption warning. Teams often limit Spot adoption due to unpredictable interruptions.

Operational overhead
After Spot fallback to On-Demand, clusters can accumulate expensive Nodes that remain in place long after Spot capacity becomes available again. This requires manual intervention to recover cost savings.

Karpenter Enterprise suite addresses these gaps by layering Cast AI's optimization capabilities on top of your existing Karpenter deployment.

How Karpenter Enterprise suite works

Karpenter Enterprise suite uses a non-intrusive approach that preserves your existing Karpenter configuration while adding enterprise capabilities through Cast AI components.

Architecture

When you connect a Karpenter-managed cluster to Cast AI, the platform deploys Castware components alongside your existing Karpenter installation:

These components work with Karpenter's existing CRDs and node provisioning logic. Cast AI guides Karpenter's decisions through CRD modifications and policy adjustments rather than replacing its core functionality.

CRD-first approach

Karpenter users expect to manage configuration through Kubernetes Custom Resource Definitions. Karpenter Enterprise suite maintains this pattern. Cast AI modifies Karpenter CRDs to influence provisioning decisions while keeping configuration in the Kubernetes-native format you already use.

For example, Cast AI can identify underutilized Reserved Instances in a specific instance family. It then adjusts your NodePool CRDs to prioritize that family when Karpenter provisions new capacity. After these commitments reach full use, Cast AI changes the configuration to prefer the most cost-effective available alternatives.

Concept mapping

If you're familiar with Cast AI's standard Autoscaler, the following table shows how Karpenter concepts map to Cast AI equivalents:

Karpenter conceptCast AI equivalentRole
NodePoolNode TemplateDefines constraints for Node provisioning: instance types, zones, capacity types, taints, and labels
EC2NodeClass (AWS)Node ConfigurationDefines cloud-provider-specific settings: AMI, security groups, subnets, and more
AKSNodeClass (AKS)Node ConfigurationDefines cloud-provider-specific settings: VNet subnet, OS image, GPU driver management

With Karpenter Enterprise suite, you continue using NodePool and NodeClass resources, and Cast AI reads these CRDs. When you enable optimization features, Cast AI modifies them to steer provisioning decisions. Your existing resources remain the source of truth.

If you later migrate to Cast AI Autoscaler, the migration replaces your NodePool resources with Node Templates and your NodeClass resources with Node Configurations. For details, see Migration from Karpenter.

Key capabilities

Savings analysis and reporting

Before you enable any optimization, Cast AI analyzes your Karpenter-managed cluster and generates a savings report showing specific optimization opportunities.

Compute costs

Compare current spending against optimized configurations that use spot instances, right-sized nodes, and commitment-based pricing where applicable.

Node utilization

Review how efficiently your workloads fit onto nodes, and identify opportunities to reduce waste from underused capacity.

Commitment utilization

See how well your cluster uses AWS Reserved Instances and Savings Plans. Find where on-demand or Spot Instances could fill unused commitments.

Workload rightsizing

Identify pods with resource requests that don't match actual usage patterns, allowing you to adjust requests and reduce node footprint.

This report shows the difference between what Karpenter delivers and what additional optimization is possible with Cast AI. You can use the free reporting tier indefinitely without enabling active optimization.

Commitments

Karpenter provisions capacity based on Pod requirements alone, so it can keep paying full price while your Reserved Instances and Savings Plans sit unused. Karpenter Enterprise suite closes this gap on EKS clusters with high-weight shadow NodePool resources. Karpenter prefers these over your regular NodePool resources, steering new capacity toward committed instance types.

Import and assign commitments through the Cast AI console. Cast AI manages the resulting budgets and shadow NodePool resources:

  • Cast AI syncs assigned commitments to the cluster as CommitmentBudget resources
  • Kentroller creates shadow NodePool resources, redistributes limits based on observed provisioned capacity, and deletes pools after they become empty
  • Optional node rebalancing can replace nodes when shadow NodePool resources exceed their CPU limits. This process reschedules workloads onto compatible capacity
  • Karpenter Enterprise suite supports zonal and regional Reserved Instances, Compute Savings Plans, and EC2 Instance Savings Plans
  • Cast AI does not modify your existing NodePool resources

For limit rebalancing, node rebalancing, and removal behavior, see Commitments in Karpenter Enterprise.

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 cost-driven consolidation from Karpenter. Karpenter continues handling drift detection. Unlike standard eviction, this integration:

  • Coordinates with Workload Autoscaler to account for actual resource usage, including pending rightsizing recommendations not yet applied to Pods
  • Uses Container Live Migration (when available) to move workloads without restarts
  • Runs only when projected savings meet configured thresholds, avoiding unnecessary churn
  • Offers more control than Karpenter's native consolidation. You can set per-Pod and per-Node eviction policies, configurable modes, and node exclusions.

The result is tighter bin-packing with reduced disruption to running applications.

Cluster rebalancing

While Karpenter optimizes at the Node level, Cast AI's Rebalancer operates across the entire cluster to identify optimization opportunities that span multiple NodePool resources:

  • Identifies Nodes that could be replaced with more cost-effective alternatives
  • Coordinates replacements to maintain workload stability
  • Accounts for constraints like availability zones, architecture requirements, and capacity types
  • Avoids recently failing instance type, zone, and capacity type combinations based on observed capacity failures
  • Works alongside Karpenter's provisioning rather than competing with it

Spot intelligence

Cast AI enhances Karpenter's Spot Instance handling with prediction, reporting, and reliability capabilities:

Interruption prediction
Cast AI's prediction model identifies at-risk Nodes up to 30 minutes before interruptions occur. This additional lead time extends AWS's standard two-minute warning and enables graceful workload migration with minimal disruption.

Observed interruptions
Kentroller reports observed Spot interruptions in Karpenter-backed clusters. Cast AI uses these observations with other capacity data to improve Spot capacity intelligence.

Spot reliability model (coming in future releases)
Cast AI maintains global telemetry across connected clusters to identify which Spot pools have historically stable capacity. By steering Karpenter toward reliable pools, Cast AI can substantially reduce interruptions compared to random pool selection.

Spot fallback recovery

When Spot capacity is unavailable at launch time, Karpenter falls back to On-Demand instances. Without recovery, these fallback Nodes can remain in place long after Spot capacity returns, accumulating unnecessary costs.

Karpenter Enterprise suite recovers Spot capacity through Continuous Rebalancing. Recovery is not a separate feature. It is the natural outcome of Continuous Rebalancing's price-based selection:

  • When a NodePool allows both Spot and On-Demand capacity, Continuous Rebalancing picks the cheapest available option.
  • After recent interruptions or capacity errors, Kentroller temporarily excludes unavailable Spot options in that region from its search. Kentroller then selects On-Demand as the cheapest remaining option.
  • Once the unavailability marks expire, Spot becomes eligible again. Kentroller selects cheaper Spot capacity and consolidates On-Demand fallback Nodes onto Spot capacity.

Kentroller ranks replacement options by price and can mix Spot and On-Demand capacity. If the first choice fails to launch, Kentroller tries the next cheapest option.

To get this behavior, enable Continuous Rebalancing in full mode. Like any rebalancing plan, it runs only when projected savings meet the configured thresholds, so a small fallback Node may stay On-Demand. See Enable Continuous Rebalancing.

Workload rightsizing

Most Kubernetes workloads request more resources than they use. Conservative resource requests leave significant waste in clusters. Karpenter provisions based on what Pods request rather than what they use, so it cannot address this waste.

Workload Autoscaler continuously learns actual resource utilization and adjusts requests to match reality. This tighter fit enables better bin-packing and reduces the total compute capacity your cluster requires.

Workload Autoscaler integrates with Continuous Rebalancing and Rebalancer so that rightsizing decisions flow through to Node-level optimization automatically.

Pod mutations

For teams onboarding existing clusters to Cast AI, Pod mutations automate the configuration changes needed to take advantage of optimization features. Rather than updating every Deployment manifest, you define mutation rules that automatically apply labels, tolerations, and NodeSelectors to matching Pods.

After onboarding, Pod mutations automatically distribute Pods proportionally across On-Demand and Spot Instances based on their assigned labels.

What Karpenter Enterprise suite doesn't change

Karpenter Enterprise suite leaves these aspects of your Karpenter deployment unchanged:

  • Your NodePool resources remain yours: Cast AI works with your existing NodePool definitions
  • Karpenter continues provisioning: Node creation and deletion flow through Karpenter
  • Rollback is straightforward: Removing Cast AI components returns your cluster to its original Karpenter-only state
  • No vendor lock-in: Your Karpenter configuration remains portable

Unsupported configurations

Running Cast AI Autoscaler alongside Karpenter
Use Karpenter Enterprise suite only when Karpenter is the sole node provisioner in your cluster. Cast AI does not support running its standard node autoscaler and Karpenter together in the same cluster. This combination causes undefined behavior.

Switch from Karpenter Enterprise suite to Cast AI Autoscaler

To use the standard Cast AI Autoscaler instead of Karpenter Enterprise suite, off-board your cluster from Cast AI. Then re-onboard it as a standard cluster.

To switch:

  1. Off-board the cluster from Cast AI by deleting the castai-agent namespace. This removes all Cast AI components from the cluster:

    kubectl delete namespace castai-agent
  2. Uninstall Karpenter from the cluster if you no longer want to use it as your node provisioner. Refer to the Karpenter documentation for removal steps.

  3. Re-onboard the cluster in the Cast AI console. Click Connect cluster, select your cloud provider, and choose Other (not Karpenter) as your autoscaling tool. Run the generated onboarding script.

The re-onboarded cluster can use Cast AI Node Autoscaler.

📘

The off-boarding step removes Cast AI components only. Your nodes, pods, and Kubernetes configuration remain intact throughout the process.

Next steps

Ready to see what optimization is available for your Karpenter cluster?

Get started with Karpenter Enterprise suite: Connect your cluster and view your optimization potential

Related resources


Did this page help you?