Installing a Cluster with Red Hat's Assisted Installer
Learn how to install an OpenShift Container Platform cluster on Oracle Cloud Infrastructure using the Assisted Installer.
Ensure you have completed all the required perquisites before starting the cluster installation. See the Prerequisites topic for more information.
Part 1: Generating the Discovery ISO File Using the Assisted Installer (Red Hat Console)
Part 2: Provisioning Cloud Infrastructure (OCI Console)
Learn about the OpenShift Container Platform for OCI provisioning steps that take place 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 the Red Hat ISO Image to Object Storage
Creating OpenShift Container Platform Infrastructure Using Resource Manager
- Ensure to run the
create-resource-attribution-tags
stack before running thecreate-cluster
stack to avoid cluster installation failure. See the Prerequisites topic for more information. - The
create-resource-attribution-tags
stack only needs to be run once. If the tag namespace and defined-tags are already created, you can directly proceed with cluster installation. - To run OpenShift, the application requires manage permissions to perform CRUD operations on Instances, Volumes, and Networking resources. We recommend that customers deploy OpenShift in a dedicated compartment to avoid potential conflicts with other applications that might be running in the same compartment.
To provision the infrastructure, first create a stack, which is a configuration based on the Terraform script contained in the create-cluster-vX.X.X.zip
file available in the Assets section of OpenShift on OCI Releases page on GitHub. Then, to provision the resources, you create an Apply job, which processes the stack and creates the infrastructure resources.
See the following topics for more information:
See the Terraform Defined Resources for OpenShift page on GitHub for a list of the resources created by the create-cluster-vX.X.X.zip
file used by Resource Manager.
Get the Custom Manifests for Installation
After provisioning the infrastructure in the Resource Manager service, 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.
Part 3: Cluster Installation (Red Hat Console)
Return to the Red Hat Hybrid Cloud Console to complete the cluster creation using the Assisted Installer. See Completing the remaining Assisted Installer steps in the Red Hat documentation for step-by-step instructions.
In the Red Hat Hybrid Cloud Console, you do the following:
- Assign roles to the control plane and compute instances running in OCI
- Upload the
manifest.yaml file
you created in Part 2: Provisioning Cloud Infrastructure (OCI Console) in the Custom Manifest setup. - Review the settings for cluster storage and networking
- Start the cluster installation. Expect the installation to take 30 to 45 minutes to complete.
Accessing The 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).