Cluster Autoscaler is not scaling down nodes in OCP 4

Solution Verified - Updated -

Issue

  • How to check why the Cluster Autoscaler is not scaling down nodes in OpenShift 4?
  • There are messages in the cluster-autoscaler pod preventing nodes to be removed by the Cluster Autoscaler:

    Skipping [node_name] - node group min size reached
    [...]
    Fast evaluation: node [node_name] cannot be removed: pod with local storage present: [pod_name]
    [...]
    Fast evaluation: node [node_name] cannot be removed: openshift-marketplace/[pod_name] is not replicated
    [...]
    Fast evaluation: node [node_name] cannot be removed: pod annotated as not safe to evict present: [pod_name]
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat OpenShift Service on AWS (ROSA)
    • 4
  • Red Hat OpenShift Dedicated (OSD)
    • 4
  • Azure Red Hat OpenShift (ARO)
    • 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