this post was submitted on 05 Sep 2023
593 points (97.6% liked)
Programmer Humor
19488 readers
574 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I just want to understand in detail what it is and how it works. Advice?
I've found it best explained in some stackoverflow answer mentioning the pet vs cattle analogy. In short, if you know how many servers you have from the tip of your tongue, and what they do more or less, then they are akin to pets: you treat them well and keep an eye on each of them.
Kubernetes is meant for when you have so many of them, that come and go without you even noticing or caring, bearing a number for the sake of production/cost control, this is cattle. Needless to say that this is not your typical app/company running at such a scale, and that there is a 24/7 team of "ranchers" keeping an eye on the herd.
https://github.com/kelseyhightower/kubernetes-the-hard-way
Thanks. So TL;DR it allows you to set up a little cloud computing service on your own physical machines, minus load balancing which you have to add on?
It can be used to scale cloud computing services as much as you want. It's a scalable container runtime at its core. It provides a means for scaling an overlay network with service discovery and uniform ingress configuration.