Adding Nodes to an Assisted Installer Cluster

Learn how to add VM worker nodes to a Red Hat OpenShift cluster deployed by using the Assisted Installer in OCI.

Supported Add Nodes workflow

Use the Add Nodes Resource Manager stack only to add VM worker nodes to a cluster created with the Assisted Installer workflow. For an Agent-based cluster, see Adding Nodes to an Agent-based Cluster. For bare metal worker nodes, see Enabling Autoscaling for an Existing Cluster.

The Add Nodes stack discovers load balancers named <cluster_name>-openshift_api_lb, <cluster_name>-openshift_apps_lb, and <cluster_name>-openshift_api_int_lb. It doesn't accept arbitrary third-party load-balancer OCIDs.

Note

This procedure supports VM worker nodes only. For bare metal worker nodes, use autoscaling to add and remove worker nodes according to load. See Enabling Autoscaling for an Existing Cluster.

Prerequisites

Before you begin, ensure you have the following:

  • A functioning OpenShift cluster in OCI.

  • Access to the OpenShift Console and the cluster provisioned in OCI, including its kubeconfig file.

  • Permissions to manage OCI Compute instances and load balancers. See the Overview of IAM and Policy Builder Policy Templates for more information.

Part 1: Generate and Upload ISO Image

To add nodes to an existing OpenShift cluster, you must first generate a bootable ISO image for node provisioning, upload it to OCI Object Storage, and generate a pre-authenticated request (PAR) URL to use in the Terraform configuration.

Generate and Upload ISO Image
The method to generate the ISO depends on how you deployed your cluster.

To upload the ISO image to the object storage bucket and generate pre-authenticated request URL, see Uploading Red Hat ISO Image to Object Storage. You need to provide this pre-authenticated request URL when entering the OpenShift Image Source URI.

Part 2: Provision Compute Nodes in OCI

Follow the instructions in this section to provision OCI Compute nodes using the add-nodes.zip file in the Resource Manager service.

Provision Compute Nodes for an OpenShift Cluster
  1. Navigate to the oci-openshift-releases page in GitHub. From the Assets section of the required release, download the add-nodes.zip file. Previous versions of the file are also available.
  2. Sign in to the OCI Console. If you need instructions, see Sign In to the Console in the OCI Getting Started guide.
  3. Open the navigation menu  and select Developer Services. Under Resource Manager, select Stacks.
  4. Select Create stack
  5. In the Stack information section, select the My configuration. Select .zip file and upload the add-nodes.zip file. After specifying the configuration source, select Next.
  6. In the OpenShift Cluster Configuration section, provide your tenancy and compartment OCIDs. For the OpenShift Image Source URI, paste the pre-authenticated request URL of the ISO image you uploaded in part 1.
  7. In the Networking Configuration section, specify the networking compartment, existing VCN, existing private subnet for OCP and bare metal, and existing public subnet.
  8. In the Control Plane Node Configuration section, specify the details for the control plane nodes you want to add to the cluster. For details on the node variables, including shape, OCPU, memory, boot volume size, and volume performance units (VPUs), see the Creating OpenShift Container Platform Infrastructure topic.
  9. In the Compute Node Configuration section, specify the details for the compute nodes you want to add to the cluster.
  10. Select Create to create the stack. The Console redirects to the stack details page for the new stack.
  11. On the stack details page, select Apply to create an apply job and provision the new nodes for the cluster. After running an apply job, get the job's details to check its status. Succeeded (SUCCEEDED) indicates that the job has completed.

Part 3: Add the provisioned VM workers to the cluster

After you complete the steps in Provision Compute Nodes for an OpenShift Cluster section, your new nodes are ready to be added to your OpenShift cluster. Follow the instructions based on your cluster type.

Assisted Installer Cluster Instructions (Console)

If you created your cluster with the Assisted installer, you can use the Red Hat Hybrid Cloud Console and the cluster console to add your new nodes to the cluster and approve their certificate signing requests (CSRs).

Add hosts to a cluster in the Red Hat Hybrid Cloud Console
  1. Navigate to the cluster details page in the Red Hat Hybrid Cloud Console at https://console.redhat.com/openshift/ and select the Add Hosts tab to view the Add Hosts section.
  2. When the new hosts are in the Ready state, select the Install ready hosts button on the cluster details page to continue. The new hosts boot and register with the OpenShift cluster. You need to approve them in the OpenShift web Console for your cluster to complete the installation. See Approve new nodes in the cluster Console for instructions.
    Tip

    Refer to the "Insufficient" Error When Adding Node in OpenShift Console section on the Troubleshooting page if the Red Hat Hybrid Cloud Console displays an "Insufficient" error while adding nodes.
Approve new nodes in the cluster Console
  1. Sign in to the OpenShift web Console for your cluster.
  2. Select Compute, then select Nodes to navigate to the list of nodes available to your cluster.

    An image of the list view of nodes for a cluster in the web based cluster console.

  3. Select the Discovered link in the row for the new node.
  4. In the Certificate approval required dialog, select Approve to add the node to your cluster. If the node has a pending server certificated signing request, the node status changes to Not Ready.

    An image of the Certificate approval required dialog.

  5. For nodes in the "not ready" state, select the Not Ready link to open the Node status dialog. Review the signing request information, then select Approve to complete the signing process and let the node take workloads within cluster.

    An image of the node status dialog with the server signing request approve button.