To create a new cluster, select a MetaKube Project from login page and click the button entry Add Cluster
. Clusters are tied to a project. You can create as many clusters within one project as you want.
Start by choosing a provider and region:
In the next step of the installer, enter your cluster details into the Cluster
tab:
Then add your cloud credentials and tenant in the Settings
tab. The default configuration will be applied for Floating IP Pools and Advanced configurations if they are empty. You only need to change these values if you need a custom network configuration for your cluster.
For node settings we recommend at least 3 nodes sized m1.small
or bigger. For an overview of the possible node flavors see the SysEleven Stack documentation. It is also possible to choose the operating system and image used for your worker nodes:
We provide Ubuntu and Flatcar for your cluster nodes OS, with Ubuntu as default. You can also choose a different image available at your Openstack tenant. To get a list of base images, navigate to Project -> Compute -> Images
in the SysEleven Stack dashboard:
Make sure to enter the exact name of the image you want to run on your machines, as listed in the images tab of the SysEleven stack dashboard. See also supported operating systems.
The chosen SSH key added in the Cluster
tab will be used for authentication for the default user (e.g. ubuntu
for Ubuntu images) on all worker nodes.
In the next step, you get to choose which Metakube Add-Ons should be installed into your cluster from the start. You can also install or uninstall Add-Ons at any time while the cluster is already running. See the chapter on Add-Ons for more details.
When you click on next, you will see a summary and the cluster creation will start after you confirm. You will then be forwarded to the cluster creation page where you can view the cluster creation process:
After all of the master components are ready, your cluster will create the configured number of worker nodes in your SysEleven Stack tenant. Fully created nodes will be marked with a green dot, pending ones with a yellow circle. You can then download the kubeconfig by clicking the button Download Config
to be able to use kubectl
with your cluster or use the provided Web Terminal. After all nodes are created you can use kubectl
to view and check the status of the created nodes:
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
metakube-w9tk8cmw62-22wgv Ready <none> 1m v1.9.6
metakube-w9tk8cmw62-58pd6 Ready <none> 1m v1.9.6
metakube-w9tk8cmw62-hm5vl Ready <none> 1m v1.9.6