Lab 5 - Deploy the Microservice to Kubernetes

Step 1: Press "Create toolchain"

Create toolchain

Step 2: Select the Dallas as region

Select the Dallas region

Note: If you already have an Continous Delivery service instance using a Lite plan in your IBM Could Account, you must choose the region for your Toolchain where you instantiated your service. The image below shows the warning.

Warning

Step 3: Configure the location for the cloned GitHub project

I our situation we use git repos and issue tracking hosted by IBM and built on GitLab Community Edition.

We will clone the Cloud Native Starter project to a repository called cloud-native-starter-one-service-workshop-TIMESTAMP.

Configure the location for the cloned GitHub project

Note: Depending on your region selection you maybe have to authorize the GitLab hosted in that IBM region.

Authorize the GitLab hosted in that IBM region

Step 4: Create a IBM Cloud API key by pressing "new" and "ok"

Enable the toolchain to create services or set configurations in your IBM Cloud Account, for that it needs an "IBM Cloud API key" depending the region you are working in.

Note: You will be informed which name is already in use.

  • Create a IBM Cloud API key

Create a IBM Cloud API key
  • Notification dialog

Notification dialog

Step 5: Verify the configuration

You see your the relevant information of your created IBM Cloud Container Registry and the IBM Cloud Cluster. Do not change the defaults!

IBM Cloud Container Registry and the IBM Cloud Cluster information

Note: If you change the Kubernetes namespace name, you need to be aware of the image pull secret credentials to access a container registry. For more details please visit the following pages.

Step 6: Press "Create"

Press Create