Kubernetes (K8s) is an open-source platform used to deploy, scale, and manage containerized applications automatically. This service simplifies the orchestration of Docker containers, extends their functionality, and helps our clients make the entire infrastructure more stable and scalable.
In this article, we talk about the opportunities offered by our service.
Managed Kubernetes is a new Gcore cloud service that will allow you to use K8s within our Cloud infrastructure and facilitate your work with clusters immensely.
The service makes it possible to create clusters, manage the nodes through an all-in-one Gcore panel, and automate processes even more efficiently.
Thus, you get all the capacities of Kubernetes including a flexible infrastructure, while we take care of such routine tasks as deploying clusters and managing master nodes.
* Updated (June 1, 2023): We already support Manage Kubernetes for bare metal nodes, as well as Kubernetes v1.24-1.27. See our announcement for more details.
For now, you can deploy your cluster within one data center only, but in the future, we are going to make it possible to connect the nodes located in different data centers.
Managed Kubernetes offers an autoscaling option, meaning that the system will automatically increase and decrease the number of nodes in the pool. If the resources are insufficient, the service will add more virtual machines, and if some nodes aren’t used for over 20 minutes, they get removed.
You can define the minimum and the maximum number of nodes in the pool on your own. Autoscaling can be turned off if necessary.
We also support the autohealing function: the system is constantly monitoring the node status and replaces the non-working nodes. This feature increases the fault tolerance of our clients’ infrastructure. It can also be turned off if necessary.
You can manage this service via the control panel or API. You can:
If you are already connected to the Gcore Cloud, Managed Kubernetes is already available in your control panel. There is no need to enable any additional features.
Now the service is in beta testing. This is why it’s free of charge.
Open the cloud control panel, head to the Kubernetes section, and click on Create Cluster.
Select a region that the data center will be located in. The cluster will be deployed using the resources of this data center.
Create pools within the cluster.
Enter the pool name (it can be any name of your choice) and specify the initial number of nodes. This is exactly how many nodes will be within this pool after the cluster has been launched.
Next, specify the minimum and the maximum number of nodes in order to configure autoscaling correctly. The system won’t allow the number of nodes to reach a value that is below the minimum or to exceed the maximum.
If you don’t want to use the autoscaling function, just set the maximum number of nodes to be the same as the minimum one. This value must match the initial number of nodes in the pool.
Next, select the type of the virtual machines that will be launched in the pool. Since the pool is a group of nodes with the same technical characteristics, we can choose only one virtual machine type.
You can choose any of the five types of virtual machines available:
Next, select the disk size and type where the pool data will be stored.
There are four options concerning the disc type. They differ in the drive type (SSD or HDD), acceptable IOPS number, and the maximum bandwidth.
As soon as you’ve specified all the settings mentioned, the pool will be created.
You can create as many pools as you need. To add one more pool to the cluster, just click on Add pool and configure all the settings as described above.
Then you can enable or disable the autohealing function.
Next, add the cluster nodes to the private network and the subnet. You can either select an existing network or create a new one by clicking on Add a new network.
Next, you need to add an SSH key to connect to the cluster nodes. You can either choose one of the keys that have already been added to your account, or generate a new one.
Finally, you will need to specify the cluster name (it can be any name of your choice)…
…and doublecheck all the cluster settings on the right side of the screen.
Click on Create Cluster. Ready! The cluster will be launched in a few minutes.
Now that the cluster has been created, it appears in the Kubernetes section of the control panel.
You can edit it by clicking on the cluster name.
You will be taken to the section with the overall information about the cluster, where its current state and status as well as the number of pools and nodes are indicated. The Pools tab displays a list of all pools with the main information. You can edit any of them, e.g.:
You can also add one more pool to the cluster. At the end of the list on the Pools tab, there will be an Add pool button. Click on it. A new pool is created in the same way as a new cluster.
You can check the load on every node on your own.
To do this, select the necessary pool in the Pools tab and click on the arrow opposite to it. A nodes list will expand. Click on the node that you need.
Head to the Monitoring tab.
You will see charts with two buttons above them. The left button configures the period of the data displayed and the right one—information updates frequency on your screen.
The statistics are displayed for 10 metrics:
Read more about the work with Managed Kubernetes in the Kubernetes section of our knowledge base.
We are constantly improving our cloud services to help our clients grow their business even faster and cheaper. Our convenient and technologically advanced cloud will allow you to achieve your business goals without any extra costs and efforts.