Using the command line interface, you can choose the location in which you create your free Kubernetes cluster.
IBM Cloud offers a free Kubernetes cluster with one worker node and limited capabilities for 30 days. When you use the IBM Cloud console to create it, you cannot select its location. Your cluster is automatically created in one of the following locations:
- Dallas in North America
- Frankfurt or London in Europe
I’m going to run you through the steps to use the the command line interface (CLI) to choose your own location (although you still need to select from Dallas, Frankfurt, and London).
Step 1. Log in with the CLI and select a target resource group
Step 2. Select a region to use, then create a cluster
The following regions are available:
- Frankfurt in
ibmcloud ks init --host https://eu-de.containers.cloud.ibm.com
- London in
ibmcloud ks init --host https://eu-gb.containers.cloud.ibm.com
- Dallas in
ibmcloud ks init --host https://us-south.containers.cloud.ibm.com
In this example, I select the Frankfurt region:
Now you have a free cluster in Frankfurt. You can use it with other consumer services in the same region, such as Blockchain.
Summary
With these simple steps, you can create a free Kubernetes cluster in Dallas, Frankfurt, or London by using the CLI. For more details on creating the free cluster, see the Kubernetes FAQ.