what is kubernetes and what is a k8s cluster?

278 viewsEngineeringOther

what is kubernetes and what is a k8s cluster?

In: Engineering

2 Answers

Anonymous 0 Comments

First off, if it’s not clear: k8s is just short for kubernetes. It’s fairly common in tech to do first letter-number of letters in the middle-last letter abbreviations. so k8s for k-ubernete-s, l10n for l-ocalisatio-n, i18n for i-nternationalisatio-n, etc.

If you run the infrastructure for a big company, you have a major problem: having servers that are perfectly sized to fit the software you want to run is a special type of logistical hell. Some software requires way too much capacity to run on just one server. Some software has low enough requirements that you could pack hundreds of the things in one single server, but you still have to run multiple copies so you can handle failures. Once you put all of those requirements together, it’s just too much chaos to manage manually.

One of the most popular strategies people have come up with to handle this problem is that you have a big fleet of servers that come in maybe a handful of flavours for different major usecases, and you run all of them centrally. You just write a bit of software to coordinate that fleet, then have your developers tell that software e.g. “I need to run five copies of this program, but each copy only needs a tiny bit of CPU power and RAM”, and you let the software choose which servers should be used to provide those five copies. If one copy crashes, the software will start it up again – but maybe not on the same server!

As you might’ve guessed by now, “that software” is Kubernetes – or Nomad, or Mesos, or whatever. Like Windows/macOS/Linux, there’s several options. Kubernetes was originally an internal tool at Google, but it’s become its own thing since they released it publicly.

A cluster is a group of servers that’s being coordinated together, so a kubernetes cluster is a group of servers that’s being coordinated together _by using kubernetes_. It’s literally just that.

Note that, much like “computer” covers everything from a super basic laptop all the way up to massive servers or workstations, the “group of servers” that form clusters are likewise diverse. I’m building two small k8s clusters at home based on [these things](https://turingpi.com/), but a typical cluster at Big Tech Co might be a few of [these cabinets](https://uk.pcmag.com/social-media/87337/facebook-building-new-data-center-in-denmark).

You are viewing 1 out of 2 answers, click here to view all answers.