Skip to main content
Legia

IT Infrastructure & Cloud

What is Kubernetes?

Also called K8s.

Short definition

Kubernetes is an open source platform for running and orchestrating many application containers across a cluster of servers, including restarting failed ones, adding replicas when load rises, and rolling out new versions gradually.

How it works

Applications are packaged as containers, then the team describes the desired state, for example three copies of an API application with a specific memory limit. Kubernetes places those containers on available servers within a cluster, monitors them continuously, and automatically replaces copies that fail. When a new version is released, old copies are replaced gradually so the service does not need to stop.

When it is needed

Kubernetes suits applications made up of many services, with a large number of users, or with sharply fluctuating loads. Many cloud providers offer managed Kubernetes, so the team does not have to run the control plane servers itself. The cost of the cluster servers and the maintenance effort still need to be calculated from the start.

What to consider

Kubernetes adds layers that have to be understood and maintained: cluster networking, storage, access rights, and monitoring. For an internal application with a few hundred users, one or two servers running plain containers are often simpler and more economical. The decision to use Kubernetes should be based on real needs, such as scale or the number of services, not on popularity. If you do use it, make sure someone on your team or at a partner truly knows it well.

Related Legia service DevOps & CI/CD Automated release pipelines, consistent environments, and monitoring that your own team can run.

Resources