Automated deployment to Kubernetes on IBM Cloud
  • Introduction
  • IBM Cloud Setup
    • Lab 1 - Register for IBM Cloud
    • Lab 2 - Insert feature code
    • Lab 3 - Create a free Kubernetes cluster
    • Lab 4 - Configure the IBM Cloud Container Registry
  • Deploy the Authors microservice to IBM Cloud
    • Lab 5 - Deploy the Microservice to Kubernetes
    • Lab 6 - Use the created toolchain
    • Lab 7 - Verify the deployed Microservice
  • Resources
    • Cloud-Native-Starter project
    • Creating Custom Toolchain Templates
    • Configuring tool integrations
    • Hands-on workshop "Build a Java Microservice and deploy the Microservice to Kubernetes on IBM Cloud"
Powered by GitBook
On this page
  • Step 1: Press "Create toolchain"
  • Step 2: Select the Dallas as region
  • Step 3: Configure the location for the cloned GitHub project
  • Step 4: Create a IBM Cloud API key by pressing "new" and "ok"
  • Step 5: Verify the configuration
  • Step 6: Press "Create"

Was this helpful?

  1. Deploy the Authors microservice to IBM Cloud

Lab 5 - Deploy the Microservice to Kubernetes

PreviousLab 4 - Configure the IBM Cloud Container RegistryNextLab 6 - Use the created toolchain

Last updated 5 years ago

Was this helpful?

Step 1: Press "Create toolchain"

Step 2: Select the Dallas as region

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.

Note: Depending on your region selection you maybe have to 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

  • 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!

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"

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

Continous Delivery
Lite plan
Documentation on IBM Cloud
Documentation on Kubernetes
Select the Dallas region
Warning
Configure the location for the cloned GitHub project
Authorize the GitLab hosted in that IBM region
Create a IBM Cloud API key
Notification dialog
IBM Cloud Container Registry and the IBM Cloud Cluster information
Press Create
Create toolchain