Access IBM Skills Network
Last updated
Last updated
If you have registered your account, you can access the lab environment at https://labs.cognitiveclass.ai/ and go directly to step 6.
Navigate to https://labs.cognitiveclass.ai/register,
Create a new account with a Social login (LinkedIn, Google, Github or Facebook), or click the Cognitive Class
button,
Click Create an Account
,
Fill in your Email, Full Name, Public Username and password, click on the check boxes next to the Privacy Notice
and Terms of Service
to accept them. Then click on Create Account
.
You will then be taken to a page with a list of sandbox environments. Click on the option for Theia - Cloud IDE (With OpenShift)
Wait a few minutes while your environment is created.
You will be taken to a blank editor page once your environment is ready.
What we really need is access to the terminal. Click on the Terminal
tab near the top of the page and select New Terminal
You can then click and drag the top of the terminal section upwards to make the terminal section bigger.
In a new browser tab, go to https://cloud.ibm.com/kubernetes/clusters?platformType=openshift.
Select your cluster instance and open it.
Click OpenShift web console
button on the top.
Click on your username in the upper right and select Copy Login Command
option.
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.
Go to the Cloud Shell
tab.
Paste the oc login command
in the IBM Cloud Shell terminal and run it.
After login to your cluster, set an environment variable for your cluster.
Verify you connect to the right cluster.
To install s2i CLI tool,
Download tar file.
Unzip tar file
Make s2i CLI accessiblee.
verify
With that done, you can start the lab.