Skip to content

Lab 0: Pre-work

1. Setup Kubernetes environment

Run through the instructions listed here

2. Cloud shell login

3. Docker hub account

Create a dockerhub user and set the environment variable.

DOCKERUSER=<dockerhub useid>

4. Set the cluster name

ibmcloud ks clusters

OK
Name                               ID                     State     Created        Workers   Location          Version                 Resource Group Name        Provider
user001-workshop                      bseqlkkd0o1gdqg4jc10   normal    3 months ago   5         Dallas            4.3.38_1544_openshift   default                    classic


CLUSTERNAME=use001-workshop

or

CLUSTERNAME=`ibmcloud ks clusters | grep Name -A 1 | awk '{print $1}' | grep -v Name`

echo $CLUSTERNAME
user001-workshop