Extend VM capacity under ARO worker node

GSIMON 61 Reputation points
2020-12-14T13:17:56.59+00:00

My customer runs Redhat (especially Redhat Core OS) Openshift at top of the Azure VMs. Unfortunately few of the VMs had been undersized. I want to upgrade those VMs to a higher capacity. Do anyone know any kind of blocker to do so?

Azure Red Hat OpenShift
Azure Red Hat OpenShift
An Azure service that provides a flexible, self-service deployment of fully managed OpenShift clusters.
81 questions
{count} votes

Accepted answer
  1. KarishmaTiwari-MSFT 18,747 Reputation points Microsoft Employee
    2020-12-23T01:32:29.05+00:00

    The worker nodes can be scaled up in ARO.

    To re-size the nodes, you need to edit the vmSize in the machineset config:

    First drain all of the nodes in ONE of the machine sets

    • oc get machinesets -n openshift-machine-api
    • oc scale --replicas=0 machineset X -n openshift-machine-api

    Edit that machine set’s config

    • oc edit machineset X -n openshift-machine-api (Change the vmSize in the machineset config to be the new Azure VM size you want)

    Then scale the nodes back up. The new nodes that are built will be the new Azure VM type.

    • oc scale --replicas=2 machineset X -n openshift-machine-api

    Make sure you pick one of the supported VM sizes for ARO: https://video2.skills-academy.com/en-us/azure/openshift/support-policies-v4

    ----------

    Please 'Accept as answer' if it helped answer your question, so that it can help others in the community facing the same issue.

    2 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. GSIMON 61 Reputation points
    2021-01-04T10:09:15.44+00:00

    Hi,

    I removed my comment before, because I just did not wait enough after the change! Now the first worker node changed!

    Thank you!

    0 comments No comments