Installing a Cluster with Assisted Installer
Install an OpenShift Container Platform cluster on OCI using Red Hat's Assisted Installer.
- Generating the discovery ISO image (Red Hat Console).
- Provisioning the cluster infrastructure (OCI Console).
- Completing the installation (Red Hat Console).
Part 1: Generating Discovery ISO File (Red Hat Console)
Part 2: Provisioning Infrastructure (OCI Console)
Upload the discovery ISO and set up the infrastructure using the Red Hat OpenShift plugin and Resource Manager in the OCI Console.
In the tasks in this section, you work in the OCI Console to upload the discovery ISO image and provision the cluster infrastructure resources as discussed in Configuration Files. See Terraform Defined Resources for OpenShift for a list of the resources created by the Terraform script used for this installation method. Note that you specify an existing compartment and Object Storage bucket for the cluster. See Creating a Compartment and Creating an Object Storage Bucket if you need instructions for creating these resources.
Uploading Red Hat ISO Image to Object Storage
Creating OpenShift Container Platform Infrastructure
- Run the
create-resource-attribution-tags
stack before running thecreate-cluster
stack to avoid installation failure. - The
create-resource-attribution-tags
stack only needs to be run once. If the tag namespace and defined-tags already exist, you can skip this step for future installations.
Getting the Custom Manifests for Installation
After provisioning the infrastructure in the Resource Manager, from the "Outputs" of the stack job, get the dynamic_custom_manifest
file. This output contains all the required manifests, concatenated and preformatted with the configuration values for CCM and CSI.
- On the Stacks page in Resource Manager, select the name of the stack to see its details. If the list view of jobs isn't displayed, select Jobs under the Resources section to see the list of jobs.
- Select the job for the stack creation. The Job details page is displayed in the Console.
- Select Outputs under the Resources section to see the list of outputs for the job.
-
For the output
dynamic_custom_manifest
select show to view the contents of the output. - Select copy to copy the contents of the output. Note: We recommend that you don't manually select and copy the text, as this can cause problems with indentation when you paste this output in the following step.
-
Using a text or code editor, save the copied output to a new
manifest.yaml
file. Upload this file in the Custom Manifest step of the installation process described in Part 3: Installing Cluster (Red Hat Console).
Part 3: Installing Cluster (Red Hat Console)
Return to the Red Hat Hybrid Cloud Console to complete the cluster creation using the Assisted Installer. Follow the steps in Completing the remaining Assisted Installer steps (Red Hat documentation). This includes:
- Assigning roles to the control plane and compute instances running in OCI.
- Reviewing the settings for cluster storage and networking.
- Uploading the
manifest.yaml
file you created in Part 2: Provisioning Infrastructure (OCI Console) in the Custom Manifest section. - Starting the cluster installation.
Accessing Cluster Console
After installation is complete, select Launch OpenShift Console in the Red Hat Hybrid Cloud Console. This opens the management console for the new cluster. The Web Console URL for the cluster console is displayed on the Installation progress page and can be bookmarked in a browser. In the cluster management console, download the kubeconfig
file which you use to access the cluster with the OpenShift CLI (oc) or the Kubernetes CLI (kubectl).