Setup¶
Access the assigned cluster via the IBM Cloud Shell web terminal¶
-
In a separate browser tab go to the OpenShift console of the cluster assigned to you.
-
Click on your username in the upper right and select Copy Login Command
-
Click the Display Token link.
-
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.
-
In a separate browser tab go to the IBM Cloud URL https://cloud.ibm.com and log in with your ibm.com credentials.
-
Click the icon for the IBM Cloud Shell terminal to launch it
- Paste the oc login command in the IBM Cloud Shell terminal and run it
Create an OpenShift project for the labs¶
- Run the following command to create a project for the labs
oc new-project knlabs