This is a cache of https://docs.openshift.com/container-platform/4.11/machine_management/user_infra/adding-rhv-compute-user-infra.html. It is a snapshot of the page at 2024-11-22T14:58:17.810+0000.
Adding compute machines to a cluster on RHV - Managing <strong>user</strong>-provisioned infrastructure manually | Machine management | OpenShift Container Platform 4.11
×

In OpenShift Container Platform version 4.11, you can add more compute machines to a user-provisioned OpenShift Container Platform cluster on RHV.

Prerequisites
  • You installed a cluster on RHV with user-provisioned infrastructure.

Adding more compute machines to a cluster on RHV

Procedure
  1. Modify the inventory.yml file to include the new workers.

  2. Run the create-templates-and-vms Ansible playbook to create the disks and virtual machines:

    $ ansible-playbook -i inventory.yml create-templates-and-vms.yml
  3. Run the workers.yml Ansible playbook to start the virtual machines:

    $ ansible-playbook -i inventory.yml workers.yml
  4. CSRs for new workers joining the cluster must be approved by the administrator. The following command helps to approve all pending requests:

    $ oc get csr -ojson | jq -r '.items[] | select(.status == {} ) | .metadata.name' | xargs oc adm certificate approve