# Excercise - 0b

You will already need an IBM Cloud account and an IBM Kubernetes Service cluster (free or paid) in order to proceed. You should have completed this in the previous module.

## Set up the web terminal

Log in to the [IBM Cloud](https://cloud.ibm.com) to access the dashboard.

Click on the top right terminal icon to launch the **IBM Cloud Shell**.

![IBM Cloud Shell](https://2816711705-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1Bh2a26msY5M4vW3R9%2Fsync%2F303bd9e65775cf0e47d25a9d8513529c4a89ede3.png?generation=1590609046838620\&alt=media)

Run the `ibmcloud ks clusters` command to verify the terminal and setup for access to the cluster

```
ibmcloud ks clusters
```

> it's ok to ignore warnings you may see about versions of plugins or kubernetes cluster versions

![Confirm cluster access](https://2816711705-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1Bh2a26msY5M4vW3R9%2Fsync%2Fdfa3f2733d73f183ae9ed774707bc0e0151ec467.png?generation=1590609045664577\&alt=media)

Configure the `kubectl` cli available within the terminal for access to your cluster.

```
ibmcloud ks cluster config --cluster mycluster
```

Verify access to the Kubernetes API.

```
kubectl get namespace
```

You should see output similar to the following, if so, then your're ready to continue.

```
NAME              STATUS   AGE
default           Active   125m
ibm-cert-store    Active   121m
ibm-system        Active   124m
kube-node-lease   Active   125m
kube-public       Active   125m
kube-system       Active   125m
```

## Clone the lab repository

In some of the labs, you will be creating Kubernetes resources by applyig `.yaml` files representing the desired state for the resource. To save typing in all of that, clone the lab repository into your web terminal:

```
git clone https://github.com/timroster/digidevcon-iks
```

you should see:

```
Cloning into 'digidevcon-iks'...
remote: Enumerating objects: 61, done.
remote: Counting objects: 100% (61/61), done.
remote: Compressing objects: 100% (44/44), done.
remote: Total 61 (delta 13), reused 61 (delta 13), pack-reused 0
Unpacking objects: 100% (61/61), done.
```

Continue on to the [next exercise](https://ibm-developer.gitbook.io/cloudpakforapplications-appmod/technology-foundations/digidevcon-iks/exercise-1).
