Cluster Autoscaler not balancing nodes across Availability Zones in OpenShift 4

Solution Verified - Updated -

Issue

  • Having 2 Availability Zones, such as west-1a and west-1b, the MachineAutoScaler is configured for MachineSets of both the zones. But the Cluster Autoscaler does not provision worker nodes evenly across both the MachineSets.
  • Nodes scaled up unevenly across Availability Zones when using Cluster Autoscaler in OpenShift 4.
  • Is it possible to use the balanceSimilarNodeGroups option in the Cluster Autoscaler in OpenShift 4?

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat OpenShift Service on AWS (ROSA)
    • 4
  • Red Hat OpenShift Dedicated (OSD)
    • 4
  • Cluster Autoscaler

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content