Add a new MachineDeployment to a cluster.
A healthy MetaKube cluster and access to create MachineDeployment
objects.
To add a new MachineDeployment navigate to your cluster view and click on the Add Machine Deployment
button:
In the popup you can then choose the number of nodes (replicas), kubelet version, flavor, etc for your newly created MachineDeployment. All nodes created in this MachineDeployment will have the chosen settings. For a detailed description of the configuration options have a look at our documentation.
Please note that you can choose a different kubelet version for the new machines, but they will be marked immediately as "can be upgraded".
To add or delete a Node you can easily edit your MachineDeployment for the active cluster and MetaKube will take care of the updates. To do so, hover over the MachineDeployment and click the edit button or open the MachineDeployment overview and click on the Edit
button:
In the popup window you can now make the modifications you need and then click the save button.
You can, for example, change Kubelet version, operating system or used image of the worker nodes which are managed by this MachineDeployment.
On Openstack, MetaKube will also detect automatically when newer images are available for the MachineDeployment's operating system, and allow you to update with one click.
Save your changes and wait for MetaKube to add or delete your extra worker node(s).
The nodes will be upgraded in a rolling upgrade, which means it will replace all machines one by one. It will create a new node and wait until it's ready and will only then drain and delete an old node. This repeats until all nodes have been replaced.
Check if the machine deployment is visible in the UI and has the correct status.
You can also check via console commands
$ kubectl get nodes
You can delete the new machine deployments via the UI.
Just navigate to the new machines and click on the trash bin icon at the end of the row.
Once you click the icon, the status of the machine deployment will go red, and there is an indicator which shows that the deletion is ongoing.