Kubernetes K8s

Kubernetes is the system that runs your containers across many machines and starts fresh copies whenever one fails or visitors arrive in a rush.

Also known as K8s container orchestration cluster management

Definition

Kubernetes runs containers across many machines and keeps them running. A container is a program packed with everything it needs, and one machine only holds so many. So you tell Kubernetes how many copies of your program should exist, and it makes reality match that sentence. If a copy dies it starts another, and if a whole machine fails it moves the work elsewhere. When visitors arrive in a rush it adds copies, then takes them away again at night.

All of that used to be a person's job, and updating ten machines one by one near midnight is where mistakes live. Kubernetes does the same steps in the same order every time and keeps a note of what it did. You will see it written as K8s, because there are eight letters between the K and the s.

It is also genuinely complicated, so taking it on before you need it is one of the more common expensive mistakes in this trade. The bill is never only the servers. You also pay for spare capacity sitting idle, for the machines that run the cluster itself, and for someone who can fix it at two in the morning. Linkysoft has inherited more than one cluster built for a shop taking fifty orders a day, when two ordinary servers would have done the job for a tenth of the money.

Here is the part nobody warns you about. Kubernetes restarts a crashed program so quickly that a real fault can hide for weeks. The program itself falls over forty times a day, visitors see nothing, and the count that would tell you sits on a screen nobody opens. The second surprise is that adding copies rarely fixes a slow site, because every copy queues for the same database. More of them can therefore make things slower rather than faster, so find the slow part first.

So the question is not whether to use Kubernetes, but what must be true before it pays for itself. Linkysoft moves a client onto it when traffic, release frequency or an uptime promise ask for it, and says plainly when they do not. Until then, a well-built web application on two servers at Hostrena is cheaper and far easier to explain. One last thing has cost real companies their whole cluster. The panel that drives it is a door into every machine it manages, and that door has faced the open internet more than once. That is why we check it before anything goes live.

Questions about Kubernetes

Does my website need Kubernetes?
Almost certainly not at the start. It earns its cost when one server is no longer enough, when you release changes daily, or when an hour offline costs real money. Below that, two ordinary servers are cheaper and simpler.
What does K8s mean?
It is a short way of writing Kubernetes: the K, the eight letters in the middle, then the s. The name itself is a Greek word for the person who steers a ship.
Will Kubernetes make a slow site fast?
Not on its own. It adds more copies of the program, but every copy waits on the same database. If the database is the slow part, extra copies make it worse. Measure where the time goes first.
Why is Kubernetes expensive to run?
The servers are only part of it. You also pay for spare capacity that sits unused, for the machines that run the cluster itself, and for someone who can repair it at night. That last cost is the one people forget when they compare prices.

Still not sure how this applies to your project?

Tell us what you are building and we will answer in plain language.