Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Comparison of Cluster Autoscaler and KEDA MachineSet Autoscaling on Red Hat OpenShift

Comparing Red Hat OpenShift Autoscalers: Cluster Autoscaler vs KEDA

September 21, 2026
Ramon Gordillo Gutierrez Jose Ortiz Padilla
Related topics:
ContainersPerformance and Scale Engineering
Related products:
Red Hat OpenShift

    As discussed in our previous articles, there are different solutions for scaling your Red Hat OpenShift compute infrastructure. In our first article, we demonstrated the built-in, Kubernetes-native Cluster Autoscaler, and in our second article we demonstrated the metrics-driven MachineSet Autoscaler with KEDA.

    Cluster Autoscaler is integrated with the Red Hat OpenShift Machine API and relies on 2 custom resources: The cluster-wide ClusterAutoscaler and the per-MachineSet MachineAutoscaler.

    Conversely, the MachineSet Autoscaler with KEDA utilizes the Custom Metrics Autoscaler operator to scale infrastructure based on external or custom signals (such as PromQL queries).

    The most significant distinction between these methods is the trigger mechanism used to initiate a scale-up event. Cluster Autoscaler is primarily reactive. It monitors the cluster for Pending pods that cannot be scheduled due to insufficient CPU, memory, or node-specific constraints. KEDA, however, monitors specific metrics (such as global CPU utilization across a MachineSet) and scales at the defined threshold. This allows KEDA to add capacity before pods ever reach a Pending state.

    This is a summary of the technical differences between the 2 autoscalers we looked at:

    AspectCluster AutoscalerKEDA MachineSet autoscaler
    TriggerPending pods by default; also ProvisioningRequest / CapacityBufferAny metric (Prometheus, CloudWatch, Azure Monitor, etc.)
    Scaling signalKubernetes scheduler simulation (plus ProvReq / buffer demand)PromQL query / external metric
    Proactive?Default path is reactive; ProvReq (Dev Preview on OCP standalone) and CapacityBuffer enable predictive capacityYes, it scales on metric threshold before pods are Pending
    Scale-up speedReactive + VM boot time (7–15 min total on Azure)Metric-driven + VM boot time (same provisioning, earlier trigger)
    Scale-downBuilt-in (utilization < threshold, pod safety checks)Via KEDA cooldownPeriod + metric falling below activation threshold
    ConfigurationClusterAutoscaler + MachineAutoscaler CRDsScaledObject + RBAC + Prometheus auth
    OperatorMachine API Operator (built-in)Custom Metrics Autoscaler Operator (KEDA requires additional installation)
    ScopeCluster-wide limits; per-MachineSet boundsPer-ScaledObject (one MachineSet per ScaledObject)
    Formula controlNone: autoscaler decides how many nodes to addFull: PromQL query defines exact scaling behavior
    ExpandersRandom, LeastWaste, PriorityN/A (single target per ScaledObject)
    Pod safetyRespects PDBs, local storage, safe-to-evictNo built-in pod safety for scale-down (relies on cooldownPeriod)
    Scale-from-zeroSupported (capacity annotations required)Supported (activation threshold or cold-start PromQL branch)
    ConflictsMust not coexist with KEDA on same MachineSetMust not coexist with MachineAutoscaler on same MachineSet
    HPA limitationN/AmetricType: Value fails for MachineSets (no pods); requires AverageValue with compensating formula

    Configuration and safety features provide another point of divergence. Cluster Autoscaler is a native feature requiring no additional operators and includes sophisticated scale-down logic and pod-eviction safety. It is designed to handle general-purpose workloads across multiple MachineSets with global limits. MachineSet Autoscaler with KEDA requires the installation of the Custom Metrics Autoscaler operator and the configuration of custom RBAC and Prometheus authentication. It relies on a `cooldownPeriod` and activation threshold to manage node removal.

    Which autoscaler to choose

    The choice between these methods depends on the predictability and type of workload demand.

    When to use Cluster Autoscaler

    • General-purpose workloads: Pods request resources, the scheduler places them, and infrastructure automatically scales to meet demand.
    • Pod-shaped capacity signals: Scaling triggers from unschedulable pods or requests like ProvisioningRequest and CapacityBuffer, rather than external metrics.
    • Predictive capacity within Cluster Autoscaler: You can use ProvisioningRequest for gang provisioning or CapacityBuffer for spare capacity, all within the standard Cluster Autoscaler model.
    • Multiple MachineSets: One ClusterAutoscaler manages several MachineSets with set group and global limits. This eliminates the need for custom metrics on each MachineSet.
    • Built-in scale-down safety: Features like PDB awareness and annotation controls handle eviction automatically without custom logic.
    • No extra operators: Features work out of the box on any IPI OpenShift cluster.

    When to use KEDA MachineSet autoscaler

    • Metric-driven proactive scaling: Add nodes based on CPU usage, queue depth, or other signals before pods fail to schedule. For example, scale up when usage hits 75% instead of waiting for 100%. Use this approach when ProvisioningRequest or CapacityBuffer do not fit your metrics.
    • Custom metrics: Base scaling decisions on queue depth, request rates, GPU usage, or external Prometheus metrics instead of pod templates or scheduler pressure.
    • Predictable step-by-step growth: Use PromQL queries to define exact replica counts for each scaling threshold.
    • Dedicated node pools: Manage tainted MachineSets for specialized workloads where scheduler pressure alone is not enough.
    • Decoupled scaling logic: Allow application teams to set their own scaling rules through ScaledObjects without needing a cluster admin to configure the autoscaler.

    Can the autoscalers coexist?

    Yes, but NOT on the same MachineSet. This is an example valid topology:

    MachineSetAutoscalerUse case
    worker-eastus1Cluster Autoscaler (MachineAutoscaler)General workloads
    worker-eastus2Cluster Autoscaler (MachineAutoscaler)General workloads
    worker-eastus3KEDA (ScaledObject)Dedicated pool, metrics-driven

    If both target the same MachineSet, they will fight over the replica count and cause flapping.

    Observed behavior on demo-p4p95

    During our tests, we made some observations about each autoscaler.

    The VM provisioning time is identical, but the difference is when the scale-up decision happens. KEDA triggers earlier because the metric exceeds the threshold as soon as pods are scheduled on the existing node, while Cluster Autoscaler waits for pods to be confirmed as unschedulable.

    MetricCluster Autoscaler (Part 1)KEDA (Part 2)
    Trigger latency~10 min (waited for CA scan loop)~1 min (30s polling + metric above threshold)
    Scale-up decision1 → 3 in one shot (estimated all needed nodes at once)1 → 2 → 3 step-by-step (one replica per threshold breach)
    Total time to 3 nodes~24 min (reaction + 2 VM boots)~15 min (faster trigger + 2 VM boots)
    VM provisioning~7 min per node~7 min per node (same cloud, same VM size)
    Signal6 Pending podsCPU utilization 99% × nodeCount > threshold 75

    Summary

    The differences between Cluster Autoscaler and MachineSet Autoscaler with KEDA, In a concise, executive summary:

     Cluster AutoscalerKEDA
    PhilosophyMatch capacity to pod-shaped demand (Pending by default; ProvReq / CapacityBuffer for predictive cases)Act on metric thresholds
    StrengthZero config for standard workloads; native predictive APIs for capacity-aware flowsFull control over when and how to scale from any metric
    WeaknessDefault path is reactive (pods wait during provisioning); ProvReq is Dev Preview on OCP standaloneRequires metric engineering and operator install
    Best fitGeneral compute pools; gang / spare-capacity workflows inside CADedicated pools with predictable, non-pod metric patterns

    Cluster Autoscaler provides a seamless solution with built-in scale-down safety for general-purpose OpenShift workloads driven by scheduler demand. KEDA MachineSet autoscaling offers highly fine-grained, metric-driven control for dedicated node pools, enabling proactive scaling before pods become unschedulable. Choosing the right tool depends on what your infrastructure strategy prioritizes.

    Related Posts

    • Red Hat OpenShift autoscaling using MachineSet autoscaler with KEDA

    • How to set up KServe autoscaling for vLLM with KEDA

    • Optimize GPU utilization with Kueue and KEDA

    • Red Hat OpenShift autoscaling with cluster autoscaler

    Recent Posts

    • Comparison of Cluster Autoscaler and KEDA MachineSet Autoscaling on Red Hat OpenShift

    • Scaling localnet user-defined networks (CUDNs) in Red Hat OpenShift to 3,500 networks

    • AI threat modeling shouldn't be a bottleneck, so we open sourced ours

    • Red Hat OpenShift networking: Default OVN-Kubernetes vs. Cilium operator

    • Matching OpenShift edge topologies to your physical footprint

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility
    Ask AI