Skip to content

Setup

Access the assigned cluster via the IBM Cloud Shell web terminal

  1. In a separate browser tab go to the OpenShift console of the cluster assigned to you.

  2. Click on your username in the upper right and select Copy Login Command

Copy login command

  1. Click the Display Token link.

  2. Copy the contents of the field Log in with this token to the clipboard. It provides a login command with a valid token for your username.

  3. In a separate browser tab go to the IBM Cloud URL https://cloud.ibm.com and log in with your ibm.com credentials.

  4. Click the icon for the IBM Cloud Shell terminal to launch it

IBM Cloud Shell

  1. Paste the oc login command in the IBM Cloud Shell terminal and run it

Login command

Create an OpenShift project for the labs

  1. Run the following command to create a project for the labs
oc new-project knlabs