Adding Nodes to a Cluster

Learn how to add extra nodes to a Red Hat OpenShift cluster in OCI.

Prerequisites

To add nodes to a cluster, you need the following:

  • A functioning OpenShift cluster in OCI.

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

  • An ISO image for booting the nodes added to the target cluster. Note that this image must be generated for the add nodes operation, and differs from the image used for the initial cluster creation.

  • Permissions to manage OCI Compute instances and load balancers. See the Overview of IAM and Common Policies for more information.

Part 1: Provision Compute Nodes in OCI

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

Part 2: Add Nodes to Cluster

After you complete To Provision Compute Nodes for an OpenShift Cluster, your new nodes are ready to be added to your OpenShift cluster. If your cluster was created with the assisted installer, you can perform the tasks in this section using the

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 (CRSs).

Alternately, you can perform these tasks using the OpenShift CLI (oc) version 4.17 or later. To use the CLI, follow the instructions in To add nodes to a cluster with the CLI.

Agent-based Installer Cluster Instructions (CLI)

If you created your cluster with the Agent-based installer, you must use the OpenShift CLI (oc) version 4.17 or later to add your new nodes to the cluster and approve their certificate signing requests (CRSs). Note that you will need your kubeconfig file to connect to your target cluster with the CLI. See Adding nodes to your cluster in the Red Hat OpenShift CLI (oc) documentation for more information.