What is Kubernetes and why is it so attractive?

Kubernetes (or 'k8s' in techie talk) is a system for managing large groups of containers and containerised applications. This technique allows you to control the operation of containers – a process called 'Container Orchestration'. Kubernetes was originally developed by Google, but it eventually found a place in the open source community. Thanks to an open standard such as Docker, containers have become quite popular. With Kubernetes, you can manage a lot of containers – really a lot – without losing the big picture.
Today, scalability is achieved by horizontal scaling: more servers, instead of larger and more powerful ones. Microservices, which are an important trend in application development, makes us partition large software blocks into multiple smaller ones. This means you have a lot more to manage: tens, hundreds or even thousands of nodes. In a typical cloud approach, these are no longer 'servers' but 'containers'. Fortunately, Kubernetes makes it possible to manage all this in a different way.
Check out our managed Kubernetes solutions
The orchestra and the sheet music – How does Kubernetes work?
Kubernetes enables orchestration, i.e. automation of container management. What makes containers so special is the fact that they contain an autonomous piece of code, which is often impossible to change. They can be started within seconds, either manually or automatically. Kubernetes starts the containers, takes care of things like load balancing, failover, routing of network traffic in case of high traffic, easy (automatic) scaling, but also ensures downscaling of resources when things are quiet. If a container crashes, Kubernetes steps in and starts a new one.
And that is exactly what makes Kubernetes so special – you can have containers start and stop fully automatically, based on predefined criteria. Examples of such criteria include the following:
- A minimum number of instances that must be enabled for each container
- The response times for each of these instances must remain below your set thresholds
- When your monitoring system detects a problem, you can immediately add an additional instance
- And you can automatically divert incoming traffic away from the suspected problem and restart the instance that crashed.
These are just a few examples of orchestration rules you can set using Kubernetes. The key idea being to anticipate future issues. Although you can never foresee all possible obstacles, most problematic situations are covered in advance by a scenario. That is the foundation for advanced automation. You can actually solve the problems before they even occur.
This, however, requires a completely different mindset. Whereas you used to be a virtuoso on your favourite instrument as a system administrator, now you are the conductor who ensures the ensemble is in perfect harmony. And the basic rules that govern the ensemble form your sheet music.
Different game rules – What makes Kubernetes so special?
The great advantage of Kubernetes is that you eliminate the human factor, which is the weakest link. Deploying containers within an infrastructure cluster, as well as starting and stopping additional nodes, can in principle be done manually. But doing so means that you will not be able to react as quickly as if those processes were running fully automatically.
The essence of clustering with containers is precisely to minimise the impact of a possible system error by making sure that all components are redundant and that resources can be scaled up elastically. With Kubernetes, this happens immediately, even before you had time to take action as a human administrator.
Orchestration with Kubernetes also allows you to fully automate the decision to provide extra nodes, and to divert traffic away from any possible problem. A master server monitors the cluster infrastructure, which starts and stops additional nodes based on the rules that have been set. The nodes are virtually isolated pieces of infrastructure on which each container runs, including the network settings for access and load balancing. Containers that interoperate and are highly interdependent can also be grouped into pods.
The management of your infrastructure and application components is thus much less 'hands-on'. Because you manage the master server instead of managing each node individually. Knowledge of formats such as JSON (JavaScript Object Notation), REST (Representational State Transfer) or YAML is not a luxury when it comes to laying down the rules of the game. From a conceptual point of view, we are a million miles away from 'system administration' in the classic sense of the term.
Flexible and flawless – What are the benefits of using Kubernetes?
- Using Kubernetes is the way to go for application development based on APIs (Application Programming Interfaces). In the cloud era, it is common practice to partition your application into functional components that can even be hosted elsewhere in the cloud. Adopting a DevOps approach means opting for continuous integration & delivery, which allows you to focus mainly on the development of new features and less on infrastructure-related issues. In other words, this solution helps you focus on your business.
- However, non-functional requirements do not disappear completely, quite the contrary. Security, performance, high availability, flexibility and elastic scalability all remain essential aspects. And Kubernetes provides the solution to each of these requirements by means of automation. Provided that your underlying infrastructure cluster still has sufficient physical resources, Kubernetes can immediately scale up where necessary.
- Using microservices also means that you can scale up with more granularity, exactly where you need it the most. Your application can only respond as quickly as the slowest link in the chain. Since your application is no longer a single whole, but rather a set of subservices, you can identify any shortcomings much easier, and take action exactly where it is required. This means Kubernetes is also a great tool for performance optimisation.
- Since Kubernetes ensures that each component works properly and automatically fixes any issues, the impact of problems is much smaller. It is a very affordable way to guarantee high availability levels.
- Automating management tasks saves developers and DevOps engineers a tremendous amount of time. The fact that Kubernetes takes a lot of configuration work off your hands also allows you to develop faster: you can deploy new applications faster and in a scalable way, but you can also deploy new features to existing applications in a shorter time frame. With the software, containers can be grouped and, in theory, managed quite easily.
- Kubernetes is a typical example of a high-quality open-source project, which has become popular thanks to its excellent support, and enjoys excellent support thanks to its popularity. ‘Open source’ also means that there are many possibilities in terms of flexibility and scalability.
Are there any drawbacks to using Kubernetes?
- The flip side is that you have to be able to deal with the countless options offered by Kubernetes. Without the necessary technical knowledge, this wealth of possibilities can quickly become a nightmare. Some technical choices also have an impact on the security level of your infrastructure. For key websites or applications, this remains an aspect you should not compromise on.
Combell & Kubernetes
Do you find Kubernetes an interesting option, but lack the technical expertise required to configure and manage it? No problem! Combell offers you Managed Kubernetes solutions, in order make your life easier or even to fully relieve you of your worries. This way, you will still benefit from the necessary guarantees in terms of security, reliability and support.
Scaling up quickly and flexibly obviously only works as long as the physical infrastructure makes it possible. With containers, you can use the available resources very efficiently, with minimal overhead. Nevertheless, the physical infrastructure must be able to cope with peaks, or to scale up in no time. Combell provides affordable packages that allow you to grow rapidly or to develop in line with your actual needs.
You can also read the interview with a few Combell collaborators about their vision of Kubernetes and the trends toward containers and microservices.
Are you interested? Or do you have any questions?
Feel free to contact our specialists