We can create a cluster in iMKE with a couple of clicks. Before we can do that, there needs to be a project.
So if you don’t have a project yet, create a project first.
To create the cluster, we click on
Create Cluster in the top right corner:
This opens the first page of the cluster creation procedure. We choose the provider
openstack and one of the three datacenters. In this example, we pick
In the next step, we have to configure the cluster details. In the example, we call our Cluster
first-system and select the desired Kubernetes version:
For occasional SSH access to worker nodes, we need can optionally deploy an SSH Key. To add an SSH-Key, we click on
Add SSH key:
After that we can add the SSH Public Key and give it a memorable name:
To allow iMKE to request the required resources from OpenStack, we add our OpenStack credentials now. After that, the contents of
Project is refreshed automatically, and we can choose the OpenStack project we want to run the cluster in:
By adding the credentials and selecting the OpenStack project, we could proceed to the next step. If we do so, a new and dedicated network, subnet and security group will be created for the cluster automatically.
It is also possible to use an existing network to create the cluster. For this to work, we have to select the network and the subnet from the dropdown menu. Those must be attached to a router. Creating a router can be done from the Optimist Dashboard or from the OpenStack command line. Please refer to our OpenStack documentation for details how to create the router and attach it.
In the next step, we define how many and what kind of virtual machines will be initially available as worker nodes in the cluster.
First, this so called
Machine Deployment needs a name. For our test cluster we use the random name generator:
Next, we should specify the
Replicas (number of worker nodes in your Kubernetes cluster) and the
Flavor (machine type), which defines the amount of CPU and RAM for each worker node:
To finish, we click on
Next. After we verified all settings, we click on
Now the cluster is being created. To access the information, we return to the Cluster view of the project and click our Cluster’s name:
This will open a page with all cluster details:
In this guide, we achieved and learned the following:
- What is an iMKE Cluster
- How to create an iMKE Cluster
Congratulations! Now you know how to create a Kubernetes Cluster with iMKE. The following pages describe cluster usage examples.