DEV Community

Discussion on: Explain Kubernetes to me like I'm Five

Collapse
 
miguelmota profile image
Miguel • Edited

Docker images: think of them as blueprints, for example a blueprint for creating a cow.

Docker daemon: think of it as corral for letting the cows run wild.

Docker swarm (and Kubernetes): think of it as a rancher that manages the cows.

Let's say you create many cows (docker containers) with the same blueprint (docker image) and let the cows do their thing in the corral (docker daemon).

You have all the dairy cows in one place but it's getting pretty crowded and they're eating all the stuff around them (resources) and you need to redistribute them to other areas or they will die.

You hire the rancher named Kubernetes and tell him of all the other corrals (nodes). The rancher checks each corrals capacities (resources) that they can handle. The rancher will take care of moving the cows around when the corrals are low on food to more abundant areas and the rancher will also take care of creating new cows for you if cows die for any reason.

The rancher is responsible optimizing your cattle ranch as efficient as possible and making it scale as long as you tell him of all the locations that he's allowed to move the cows to. You can also tell him to only grow the ranch to a certain size or to dynamically scale larger to produce more milk based on the dairy consumption demand by the population (auto-scaling).

Collapse
 
geekbeardlinks profile image
modri

Very nice explanation!
I am thinking of translating it into Spanish to share it with my local community. Would it bother you if I do? I would obviously reference you as the author.

Collapse
 
miguelmota profile image
Miguel

It's fine with me. Thanks for asking!

Collapse
 
elenadotnet profile image
Elena.NET

thanks for this, you are awesome!

Collapse
 
rohithv07 profile image
Rohith V

Just Wow

Collapse
 
shameera91 profile image
Shameera Anuranga

this is really awesome explanation

Collapse
 
jsardev profile image
Jakub Sarnowski

This is pure gold! :D

Collapse
 
tdlmatias profile image
T

I really loved the way to toke a complex thing like kubernetes and made so simple, that I can animate it. And explain it to my 4year old son.. 😁 Amusing, thanks

Collapse
 
niweera profile image
Nipuna Weerasekara

This is the most understandable explanation ever. Thanks mate...

Collapse
 
zbennett10 profile image
Zachary Bennett

This was brilliant. Thanks!

Collapse
 
hasnayeen profile image
Nehal Hasnayeen

this is a great explanation, perfect as a ELI5.

Collapse
 
alexthotse profile image
alexthotse

🤯 dude. Legendary!
So simple when you put it that way.

Collapse
 
inidaname profile image
Hassan Sani

This is so 5 years old. Nice, Thank you so much.