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 required OpenShift® version, for example OpenShift 4.7.30.
- For OCP entitlement, select Apply my Cloud Pak OCP entitlement to this worker pool.
- For Infrastructure, ensure that Classic is selected.
- In the Location section, select your Worker
zone (for example, Dallas 12):
- In the Worker pool section, select Change
flavor:
- Enter a unique Worker pool name. If you do not enter a name, it will assume of 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 (this may take some time), you can review its details by clicking State. You can also check the Ingress Subdomain. When doing this, 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. This displays the oc login command for authenticating via the command line interface (CLI). For example:oc login token=sha256~ynpvzKe8jaVipXXXXriqqt4g3T7VHB2sVlsZqOiHBY --server=https://my_containers.cloud.ibm.com:31944