Creating an OpenShift cluster
Create a Red Hat® OpenShift® cluster on IBM Cloud with classic infrastructure.
Procedure
- In the IBM Cloud dashboard, click OpenShift.
- Click OpenShift Clusters > Create
Cluster
- Enter the Orchestration service: Select the OpenShift version, such as OpenShift 4.7.30.
- For OCP entitlement, select Apply my Cloud Pak OCP entitlement to this worker pool.
- For Infrastructure, select Classic.
- In the Location section, select your Worker
zone, such as Dallas 12:
- In the Worker pool section, select Change
flavor:
- Enter a unique Worker pool name. If you do not enter a name, it assumes the name of default.
- Set the Master service endpoint to both private and public endpoints.
- Under Resource Details > Cluster name, enter a cluster name (for example, Mycluster-dal12).
- Click the create option to provision the cluster.
- After the cluster is created, you can review its details by clicking State. You can also check the Ingress Subdomain. Copy the Master URL for later use.
- Click OpenShift web console to redirect to and open the OCP
Console:
- In the OpenShift web console menu bar, click your IAM profile
(
IAM#user.name@email.com
) and select Copy Login Command to generate theoc
login command for authenticating.The following command is an example of the command that you generate:oc login token=sha256~ynpvzKe8jaVipXXXXriqqt4g3T7VHB2sVlsZqOiHBY --server=https://my_containers.cloud.ibm.com:31944