>kubernetes (dumbest fricking name) booberneetees pooperneetees bubbyleeneos kubby kubee kubeeleene ohs >containers >snap
why did this unnecessary gapeshit infect the software world so absurdly quick?
i know what people are saying about it but define >problem
and >solution
problem >software infrastructure requires running multiple redundant sets of processes that require synchronization and interprocess communication across multiple different machines in heterogeneous clusters and we don't want to have to write all of this shit ourselves when we can adopt an industry standard
solution >kubernetes
Sure, it's all software so there's an infinite number of technically possible solutions, but the majority of them will involve reimplementing what k8s has already done.
2 months ago
Anonymous
So why has it taken the industry so long to come up with kyoobieboobies and cucker if they're so simple to (re)implement and very important at the same time?
2 months ago
Anonymous
I never said they were simple? That's kind of my point; k8s isn't simple and it's a good solution because the work has already been done.
I would say though that we probably could have had less sophisticated but very usable containers much earlier than Docker if we'd wanted, though.
i know what people are saying about it but define >problem
and >solution
*complex solution to a simple problem
the problem was how to ensure employment for sysadmins and "devops" and they have solved it perfectly with kubernetes
[...]
actual answer: k3s
Problem: abstracting a heterogeneous fleet of nodes and APIs through a unified layer, encompassing networking, storage, scheduling, HA and more. Without a gold standard "distributed OS", every place was hand-rolling their own over time and failing at many things along the way.
The solution is quite simple in terms of programs, e.g. kube-proxy does nothing but manipulate iptables on every host so that a service becomes known and addressable across the cluster, kubelet just spins up pods with containers that every dev is already familiar with via Docker.
If you know your Linux fundamentals well, you can reach a passable junior level in K8s within 3 months of learning.
It is rather elegant for the frickfest of a problem that it solves, it becomes complex when people start playing with all of the things it can do, even if they don't need it.
2 months ago
Anonymous
>docker
Assuming you mean containers (I recommend podman), they are cgroups, a chroot and namespaces. Containers allow for mostly-isolated environments that make deployments and dependency/config management a breeze whle offering a common API to run a program, >kubernetes
Container orchestration, it lets you declaratively manage container scheduling as well as the things that you need around them, like load balancers, external providers (e.g. secrets) and storage.
One example is that you as an app developer can set a required type of storage, e.g. 50 GiB of SSD and 1 GiB of NVMe, without caring where that storage comes form. The Kubernetes control plane will then create a Persistent Volume Claim to bind some random NAS storage volumes available to the cluster somewhere to your app. You can run hundreds of services across teams without any dev ever having to deal with the underlying resources. >snap
fricking garbage for morons by grifters, an attempt by Canonical at vendor lock-in via package management. >flatpak
Similar to containers, half-isolated applications but with a bunch of defaults and a specific purpose, to distribute GUI apps for the desktop instead generic backend services as with containers. >apt
package manager for Debian and its derivatives >aur
AFAIK Arch User Repository, community packages that are not maintained by the distro. >dnf
dandified yum, successor to yum, the package manager for anything downstream of fedora (Fedora -> CentOS Stream -> RHEL/SUSE) >nix
A configuration (bordering on programming) language. Known for offering an immutable and declarative way to manage your entire local install.
That's an entire topic unto itself, search for NixOS.
Didn't expect this. Great effortposts, many thanks anon. I guess if I need more info I ought to check the docs and ebooks
2 months ago
Anonymous
For the high-level overview, videos like https://www.youtube.com/watch?v=PziYflu8cB8 and https://www.youtube.com/watch?v=TlHvYWVUZyc go a long way
For actually learning how to use it, I recommend https://killercoda.com/killer-shell-cka, completely free ephemeral VMs, pre-configured with a problem to solve. Later on, Minikube is a good bet for beginners to run K8s locally.
Then again, if it isn't your daily bread you should be in a position to not care. It is good to know the concepts and how to play to the strengths, e.g. creating a liveness probe endpoint in your app code that you can then add to your K8s manifests later on so that it can be scraped by your devops/sre/infra team's Prometheus for monitoring and similar.
And God knows best.
2 months ago
Anonymous
>abstracting a heterogeneous fleet of nodes and APIs through a unified layer, encompassing
Could you not talk like a homosexual and a corporate drone at the same time? Queer.
2 months ago
Anonymous
NTA, but could you use more hetero words to say what he said please? I'm genuinely curious about how your super masculine high IQ mind would explain the ideas.
2 months ago
Anonymous
No I cannot, but you may suck my dick if that helps.
> lmao what if we took a thing made for running on a cluster of vms and ran it on a pc
Truly ebin.
2 months ago
Anonymous
you can run a cluster with k3s, it just happens to also be extremely easy to run with a single node
2 months ago
Anonymous
minikube start, you're welcome
2 months ago
Anonymous
Yes. But why would you?
You wouldn’t because if you are going to run a cluster you may as well do it fricken properly. You’d run k3s because it’ll work on your dev pc and you can stroke yourself while pretending you have an environment that meaningfully represents a production environment.
That's the gist of it. Unix does not make it easy to manage multiple machines. Hence a new category of computer personel - devops. Google still tries to hang onto the old SRE moniker by trying to retrofit it into the devops. Unfortunately for them Microsoft Azure left GCP in the dust so they larp as SREs with no chance to ever advance to second position. They will be lucky if they remain 3rd.
>Google reportedly set a goal of being a top-two cloud player by 2023
this is technology you stupid pedo piece of dog shit, have a nice day or go back to the anime board you stupid moron black african ape Black person piece of israelite shit
It's the same rationale as how programmers don't know shit about UI design.
2 months ago
Anonymous
people who can't read documentation are beyond moronic and can't be helped. they are morons who need to be spoon fed by people who already read the documentation
2 months ago
Anonymous
so why go to uni and study cs if all we need to do is read the docs?
2 months ago
Anonymous
>go to uni
LOL >study cs
LOL
absolute idiots believe this is not worthless
2 months ago
Anonymous
ok so what do you do when you encounter shit you don't understand in the docs? if you had a solid degree you'd probably know more about those things. Do you just do research on the subjects that you consider important?
2 months ago
Anonymous
>you had a solid degree you'd probably know more about those things.
there's no way you unironically believe this, this is super moronic. you're super moronic
2 months ago
Anonymous
let's say you want to learn meme learning but you don't have a background in CS or any other STEM subjects. WTF do you do? Pure self study? No degree, exams, anything? Serious quesiton.
2 months ago
Anonymous
>let's say you want to learn meme learning but you don't have a background in CS or any other STEM subjects. WTF do you do? Pure self study?
YOU FRICKING READ ABOUT IT, are you kidding with this? are you some kind of super autist that can't learn? you read documentation and also look at examples people have literally already implemented. you absolutely cannot be serious with this. >No degree, exams, anything?
degrees are just pieces of paper that attempt to show that you're not moronic and passed some lower bar, they have nothing to do with intelligence. i know tons of people with degrees that are fricking idiots and i cannot believe they were even hired by anyone, and i cannot believe they are able to feed themselves. degrees mean nothing.
2 months ago
Anonymous
No need for the vitriol it was an honest question. I'm also playing devil's avocado here as I agree with you already but you know how obsessed normaltards are with "professionals". I do have a degree but I don't think there's anything special about universities apart from: >networking with other students >talking to professors >incentive for studying so that you don't waste your time and money
2 months ago
Anonymous
>No need for the vitriol it was an honest question.
An honestly moronic question. If you truly weren't pretending to be moronic with that one, just kys
2 months ago
Anonymous
I see you're incapable to add anything else.
I have no more use for you.
2 months ago
Anonymous
>i'm only pretending to be moronic >continues to be moronic
2 months ago
Anonymous
Still seething? Good.
2 months ago
Anonymous
>telling people they are seething makes me happy
i guess whatever makes your little sad life happy KEK
2 months ago
Anonymous
Buttmad.
2 months ago
Anonymous
wow you're mad, u mad?
2 months ago
Anonymous
>let's say you want to learn meme learning but you don't have a background in CS or any other STEM subjects. WTF do you do?
First start making something, something basic.
Then you read more and continue to make more.
Start here:
https://www.theodinproject.com/
Then read a book about whatever programming language you want.
Then you do this
https://fullstackopen.com/en/
Then read more.
Follow some online university classes or something, whatever you are curious about. Now it is all up to you.
2 months ago
Anonymous
Thanks, that's information is useful. And what about the networking part? How to get so good at networking that I can befriend powerful israelites?
2 months ago
Anonymous
Holy shit nice ESL, Sukdeep. Less programming languages, more english!
2 months ago
Anonymous
Take a networking course at your local university, online university or follow some YouTube lecture.
Then setup your own system by following thede guides, first setup Docker Swarm, then setup Kubernetes:
https://dockerswarm.rocks/
https://k3s.rocks/
2 months ago
Anonymous
dont worry
>you had a solid degree you'd probably know more about those things.
there's no way you unironically believe this, this is super moronic. you're super moronic
Is just a “self starter bootcamp” dev who learnt enough to wrap a Hello World JS app in an ingress and is now a “certified cloud professional software engineer” who is a little sensitive when people actually know their trade
2 months ago
Anonymous
i try giving people the benefit of the doubt though, to see if they've actually figured out something easier that I couldn't
2 months ago
Anonymous
>Is just a “self starter bootcamp” dev who learnt enough to wrap a Hello World JS app in an ingress and is now a “certified cloud professional software engineer” who is a little sensitive when people actually know their trade
dunno what this means, im not a dev. are you ok?
2 months ago
Anonymous
If you actually studied CS, you would know that it has nothing to do with modern software engineering practices. >t. cs degree victim
2 months ago
Anonymous
>nothing to do
low IQ black and white thinking
2 months ago
Anonymous
Computer science is about the theory of computational science you fricking moron. Compiler optimizations, efficient algorithms, cryptography, deterministic finite automata, pumping lemmas, etc., have nothing to do with reading a doc on how to use a technology.
It's like equating theoretical physics with say satellite engineering.
2 months ago
Anonymous
Nobody said anything about equating you obnoxious, illiterate, black-and-white thinking brainlet. CS does have SOMETHING to do with what the documentation is describing. Shut the frick up before you embarrass yourself further
2 months ago
Anonymous
> dur i read the docs so i am a qualified senior computer scientist engineer
lol. lmao.
2 months ago
Anonymous
Nobody said anything about that either. Lol lmao. Is there anything of worth in that tiny head of yours? Nothing? Alright.
2 months ago
Anonymous
lmao you think you need an entire degree, which again has nothing to do with whatever you think it will do for you, to understand a doc written so morons like you can understand hahahahahahaha.
homie thinks only Ph.D holders can understand Kubernetes HAHAHAHAHAHAHAHA
2 months ago
Anonymous
You are severely mentally ill.
Do you have a job bro?
Do you even work for Shlomo the Chomo?
No?
I rest my case.
2 months ago
Anonymous
THIS homie TOO moronic TO READ HAHAHAHAHAHAHAHAHHA
2 months ago
Anonymous
You talk like a Black person.
You have low IQ.
This conversation is over.
2 months ago
Anonymous
Imagine thinking anyone cares. The truth is, you're a moronic Black person who thinks you need a fricking degree with understand documentation intended to be read by morons like you. HAHAHAHAHAHAH DUMBASS Black person israelite LOVING moron homosexual troony Black person
2 months ago
Anonymous
It does help for algorithms and shit but like…if your job is to play with useless middleware like k8s or just repeat buzzwords nonstop like 95% of people. It’s all pointless. I’ve literally worked with MIT and GT grads who just piled middleware up with no understanding of anything and they ended up with bloated junk. Common sense can’t be taught in college.
Yup work with some jeets who are supposedly super educated and were running Python they wrote in some app. It was sucking up 15-60GB resources everytime they use it. Never dawned on them to try and fix it.
2 months ago
Anonymous
Imagine thinking anyone cares. The truth is, you're a moronic Black person who thinks you need a fricking degree with understand documentation intended to be read by morons like you. HAHAHAHAHAHAH DUMBASS Black person israelite LOVING moron homosexual troony Black person
Pajeets mad that they're paid peanuts to untangle spaghetti code for first world chads. Also your women cuck you en masse as soon as they set foot in Europe or America.
2 months ago
Anonymous
Oh no, not 16 whole gigarams
Thats almost half a consumer desktop!!!
Computer science is about the theory of computational science you fricking moron. Compiler optimizations, efficient algorithms, cryptography, deterministic finite automata, pumping lemmas, etc., have nothing to do with reading a doc on how to use a technology.
It's like equating theoretical physics with say satellite engineering.
2 months ago
Anonymous
Computer science is about the theory of computational science you fricking moron. Compiler optimizations, efficient algorithms, cryptography, deterministic finite automata, pumping lemmas, etc., have nothing to do with reading a doc on how to use a technology.
It's like equating theoretical physics with say satellite engineering.
I love how the bootcamp pajeet dropped "pumping lemma" out of the blue like it's so fricking relevant. It's like talking about engineering and saying "slopes bro, kilograms, uhh, f = ma"
2 months ago
Anonymous
>he doesn't know what a pumping lemma is
2 months ago
Anonymous
You learn about it in the first powerpoint during an intro course on regular languages, Sukdeep. Nobody cares. You're moronic and brown. WOW! HOT a What Baabhabhiat!
>half VM, half chroot >no fricking idea >the first, but ubuntu only, proprietary and worse in every way >1, but more of a chroot, and easier to install >debian package manager, arch user repository, definitely not fast fedora/redhat package manager, some amalgam of scripting and package management making (one and related) obsolete
!
I sort of get it now. So it's all about chroot/container + virtualization so it's easy to set up things, isolate them (security and debugging reasons and etc.), test them effectively (replication, etc.). Aside from snap, flatpak, apt, etc. I have some experience with chroot but didn't know shit about docker and kates.
>""""""artifact"""""
The buzzwords these modern developers come up with, w3w
2 months ago
Anonymous
Artifact has been a term since long before your time, unemployed zoomie
2 months ago
Anonymous
NTA but why is being unemployed bad? It just means you're not working for a manlier man than you who owns your time and makes you do what he wants which is kinda gay if you ask me.
2 months ago
Anonymous
"Build artifacts" is a relatively new buzzword you gorilla Black person. Back in my time, when everything wasn't an "App" and you didn't need 24 letter words to describe your work position nobody described build solutions as Black personlicious "Artifacts".
2 months ago
Anonymous
very cool terry clone impression. maybe next time you can come up with your own hip word. or maybe not cause you're not actually clever or funny enough.
please return to your holy c calculator and let the big boys talk about actually useful systems.
Oh cool, now I get it. Thank you, anon. So they both run containers but kates does it across VMs, right? Must be why I keep hearing the word "orchestrator."
2 months ago
Anonymous
K8s uses a container runtime, potentially docker but maybe containerd or some other shit like crio.
It doesnt run containers itself. It does things like kill containers using too many resources, wrangle the distribution of containers to multiple nodes, create obscure networking bugs to keep DevOps busy etc
2 months ago
Anonymous
I see so it's a hierarchy. K8s uses docker (or something similar) to do stuff, and you have a bunch of scripts surrounding them, right? And inside of those containers you have the actual codebase for your company's apps.
2 months ago
Anonymous
Not sure what “scripts surrounding them” means.
In the containers could be various apps. Maybe they are compiled source of your company’s product, maybe they are installations of other people’s binaries. But more or less yes.
2 months ago
Anonymous
>Not sure what “scripts surrounding them” means.
Is this k8s/docker business the outermost layer of what companies are doing? Is there nothing else higher on the hierarchy? So we have k8s>docker>container>apps. Anything else?
Thanks for the explanation btw, this is starting to make some sense.
2 months ago
Anonymous
Let's talk in a concrete example. It has taken me a while to write this because it really is a complex problem that evolves over time, despite what the terminally useless will tell you about "plain ol' simple software when it WUZ GUD".
Your company has some Python code that identifies dogs versus cats with 99% accuracy and you wish to sell that as a service. You wrap the core code up in a Django app. How do you then make it available to users?
You could get a static IP + domain name, run that Django app on a server in the back room. Great, hundreds are now using your service a day. Now people are uploading malicious files just to punk you. Also the tech talent wants to add logic for turning identified dog pictures into cats with some magic ML sauce. But they're too "busy" to update it and it now needs a different version of pandas or some shit so it'd need to run in a different virtual environment, at the very least.
First step, you split out the code for the DogConverter versus DogIdentifier. You produce some artifact for running these on a container runtime (ie; docker, crio, containerd). Now your shit doesn't frick each other up with dependency woes, at least. You run both images on the server using Docker
Your mustachioed Django devs are too busy sipping lattes to write a program for identifying malicious files. So you grab an existing product. Handily enough, they produce docker images already so you literally just `docker run virus-scanning-image` and plumb it in between your app receiving an upload and processing it.
2 months ago
Anonymous
Thousands use is-this-a-dog-and-can-i-convert-it-to-a-cat.com a day. Often they want to pay lots of money to convert the dog to a cat, but it's far more resource intensive than the DogIdentifier and they currently need to run on the same machine. You're losing money because the product still does not scale. You could buy more servers and run docker + a copy of each of the applications. Then maybe you distribute traffic to those two machines somehow (idk; apache reverse proxy or some shit). This is ok, but it's fairly wasteful and brittle.
Tens of thousands use your site. You need more copies of the product to support this. You move to the Cloud because it's easier to pay Amazon to do the hardware bullshit. You can now have as many VMs as you want with a few button clicks. You still need to frick around, probably with handrolled scripts, to stand up a new copy of the product. Also Timothy added some fricking trash Python that accidentally rm rfs the entire webapp at a random point in the day. Luckily it's containerized so nothing happens with the actual machine. You still need a way to a) know it's fricked b) unfrick it; probably by hand restarting the container. Also; DogConverter sees super bursty usage around midday UTC due to the global distribution of furrys. You pretty much always see downtime/bad performance at this time.
2 months ago
Anonymous
At this point, you might consider Kubernetes:
It can:
a) run copies of DogConverter separate to DogIdentifier and VirusDetector (it's simple and written by competent devs, your entire system could be serviced by a single copy)
b) Not care where these copies run; just hand it some EC2 instances and let it decide how to allocate it efficiently
c) Automatically scale DogConverter as usage dictates
d) Have it all communicate without having to frick around with network config yourself; standardize some way for this to all talk so when the devs produce a new "AI Chatbot that replies exclusively with barks" you can fit it in seamlessly.
e) Ensure the application is alive and working; if it isn't just restart the piece of shit
2 months ago
Anonymous
Does k8s enable bad behavior? Devs are no longer handling errors or handling exceptions. It is bettor to let the app to die and be restarted by the kubelet. They also think these restarts are instantaneous.
2 months ago
Anonymous
Nobody good is doing that. Unfortunately in large systems you are going to work with morons.
2 months ago
Anonymous
>Does k8s enable bad behavior? Devs are no longer handling errors or handling exceptions.
Let me tell you from personal experience that you don't need to use Kubernetes for this to happen. Bad devs are bad devs, no matter the company, time or place.
I know a dev who's program crash every single time it runs in production, he just shrugs his shoulders and say >Works on my machine
2 months ago
Anonymous
Sounds like total bullshit, like you made it up.
2 months ago
Anonymous
Thousands use is-this-a-dog-and-can-i-convert-it-to-a-cat.com a day. Often they want to pay lots of money to convert the dog to a cat, but it's far more resource intensive than the DogIdentifier and they currently need to run on the same machine. You're losing money because the product still does not scale. You could buy more servers and run docker + a copy of each of the applications. Then maybe you distribute traffic to those two machines somehow (idk; apache reverse proxy or some shit). This is ok, but it's fairly wasteful and brittle.
Tens of thousands use your site. You need more copies of the product to support this. You move to the Cloud because it's easier to pay Amazon to do the hardware bullshit. You can now have as many VMs as you want with a few button clicks. You still need to frick around, probably with handrolled scripts, to stand up a new copy of the product. Also Timothy added some fricking trash Python that accidentally rm rfs the entire webapp at a random point in the day. Luckily it's containerized so nothing happens with the actual machine. You still need a way to a) know it's fricked b) unfrick it; probably by hand restarting the container. Also; DogConverter sees super bursty usage around midday UTC due to the global distribution of furrys. You pretty much always see downtime/bad performance at this time.
Let's talk in a concrete example. It has taken me a while to write this because it really is a complex problem that evolves over time, despite what the terminally useless will tell you about "plain ol' simple software when it WUZ GUD".
Your company has some Python code that identifies dogs versus cats with 99% accuracy and you wish to sell that as a service. You wrap the core code up in a Django app. How do you then make it available to users?
You could get a static IP + domain name, run that Django app on a server in the back room. Great, hundreds are now using your service a day. Now people are uploading malicious files just to punk you. Also the tech talent wants to add logic for turning identified dog pictures into cats with some magic ML sauce. But they're too "busy" to update it and it now needs a different version of pandas or some shit so it'd need to run in a different virtual environment, at the very least.
First step, you split out the code for the DogConverter versus DogIdentifier. You produce some artifact for running these on a container runtime (ie; docker, crio, containerd). Now your shit doesn't frick each other up with dependency woes, at least. You run both images on the server using Docker
Your mustachioed Django devs are too busy sipping lattes to write a program for identifying malicious files. So you grab an existing product. Handily enough, they produce docker images already so you literally just `docker run virus-scanning-image` and plumb it in between your app receiving an upload and processing it.
Thanks a lot anon. I knew some of this stuff but as I was missing information and did not know anything about containers and etc. I couldn't put it all together but this is a really good summary and I feel like I understood it well, not just containers but a larger overview to boot. I'm really grateful for your effort post. I used to be autistically annoyed by this container shit and didn't want to read anything about it but your posts made me realize they sound useful and very sensible.
>docker
Assuming you mean containers (I recommend podman), they are cgroups, a chroot and namespaces. Containers allow for mostly-isolated environments that make deployments and dependency/config management a breeze whle offering a common API to run a program, >kubernetes
Container orchestration, it lets you declaratively manage container scheduling as well as the things that you need around them, like load balancers, external providers (e.g. secrets) and storage.
One example is that you as an app developer can set a required type of storage, e.g. 50 GiB of SSD and 1 GiB of NVMe, without caring where that storage comes form. The Kubernetes control plane will then create a Persistent Volume Claim to bind some random NAS storage volumes available to the cluster somewhere to your app. You can run hundreds of services across teams without any dev ever having to deal with the underlying resources. >snap
fricking garbage for morons by grifters, an attempt by Canonical at vendor lock-in via package management. >flatpak
Similar to containers, half-isolated applications but with a bunch of defaults and a specific purpose, to distribute GUI apps for the desktop instead generic backend services as with containers. >apt
package manager for Debian and its derivatives >aur
AFAIK Arch User Repository, community packages that are not maintained by the distro. >dnf
dandified yum, successor to yum, the package manager for anything downstream of fedora (Fedora -> CentOS Stream -> RHEL/SUSE) >nix
A configuration (bordering on programming) language. Known for offering an immutable and declarative way to manage your entire local install.
That's an entire topic unto itself, search for NixOS.
>snap
garbage for morons by grifters, an attempt by Canonical at vendor lock-in via package management.
Multipass is pretty cool though and probably the only worthwhile snap.
you don't know how to make a yaml file? you don't know how to google "docker compose file example"? you're a super fricking moron, get the frick outta here
>this thread
once again it is confirmed that IQfy would put even IQfy to shame in the unemployment rate department
why do you want to learn kubernetes? are you a developer deploying on containers or are you looking to do devops or whatever the latest buzzword is?
if the latter, please learn some good ol linux sysadmining, CCNA level networking and architecture first
don't focus too much on YAML manifests and moronic k8s terms, foundation is everything
>he still thinks you need a CS degree to understand kubernetes documentation
>shitskin so afraid of me can't even give me a direct reply
Why don't you explain it, shitskinned genius. Impress us with your knowledge of what's basically the f = ma of introductory CS.
>xhe still needs my help undestanding pumping lemma and still thinks xhe needs a degree to learn a technology
I NEED A MECHANICAL ENGINEERING DEGREE TO DRIVE A CAR
>SAAAAR WHY CANNO YOU BOOTINGS THE KUBERNETEEES
Gemini
>kubernetes (dumbest fricking name) booberneetees pooperneetees bubbyleeneos kubby kubee kubeeleene ohs
>containers
>snap
why did this unnecessary gapeshit infect the software world so absurdly quick?
k8s is the best solution we have to an extremely complex problem.
"Problem"?
problem
>software infrastructure requires running multiple redundant sets of processes that require synchronization and interprocess communication across multiple different machines in heterogeneous clusters and we don't want to have to write all of this shit ourselves when we can adopt an industry standard
solution
>kubernetes
Sure, it's all software so there's an infinite number of technically possible solutions, but the majority of them will involve reimplementing what k8s has already done.
So why has it taken the industry so long to come up with kyoobieboobies and cucker if they're so simple to (re)implement and very important at the same time?
I never said they were simple? That's kind of my point; k8s isn't simple and it's a good solution because the work has already been done.
I would say though that we probably could have had less sophisticated but very usable containers much earlier than Docker if we'd wanted, though.
Problem: abstracting a heterogeneous fleet of nodes and APIs through a unified layer, encompassing networking, storage, scheduling, HA and more. Without a gold standard "distributed OS", every place was hand-rolling their own over time and failing at many things along the way.
The solution is quite simple in terms of programs, e.g. kube-proxy does nothing but manipulate iptables on every host so that a service becomes known and addressable across the cluster, kubelet just spins up pods with containers that every dev is already familiar with via Docker.
If you know your Linux fundamentals well, you can reach a passable junior level in K8s within 3 months of learning.
It is rather elegant for the frickfest of a problem that it solves, it becomes complex when people start playing with all of the things it can do, even if they don't need it.
Didn't expect this. Great effortposts, many thanks anon. I guess if I need more info I ought to check the docs and ebooks
For the high-level overview, videos like https://www.youtube.com/watch?v=PziYflu8cB8 and https://www.youtube.com/watch?v=TlHvYWVUZyc go a long way
For actually learning how to use it, I recommend https://killercoda.com/killer-shell-cka, completely free ephemeral VMs, pre-configured with a problem to solve. Later on, Minikube is a good bet for beginners to run K8s locally.
Then again, if it isn't your daily bread you should be in a position to not care. It is good to know the concepts and how to play to the strengths, e.g. creating a liveness probe endpoint in your app code that you can then add to your K8s manifests later on so that it can be scraped by your devops/sre/infra team's Prometheus for monitoring and similar.
And God knows best.
>abstracting a heterogeneous fleet of nodes and APIs through a unified layer, encompassing
Could you not talk like a homosexual and a corporate drone at the same time? Queer.
NTA, but could you use more hetero words to say what he said please? I'm genuinely curious about how your super masculine high IQ mind would explain the ideas.
No I cannot, but you may suck my dick if that helps.
t. consultant
try not being a high school dropout
i know what people are saying about it but define
>problem
and
>solution
>k8s
The fact that the name is so fricking stupid people have to come up with a different one.
"Kates"? How many Kates do you need?
>k8s
Kate?
*complex solution to a simple problem
how to force everybody to disable swap
the problem was how to ensure employment for sysadmins and "devops" and they have solved it perfectly with kubernetes
actual answer: k3s
> lmao what if we took a thing made for running on a cluster of vms and ran it on a pc
Truly ebin.
you can run a cluster with k3s, it just happens to also be extremely easy to run with a single node
minikube start, you're welcome
Yes. But why would you?
You wouldn’t because if you are going to run a cluster you may as well do it fricken properly. You’d run k3s because it’ll work on your dev pc and you can stroke yourself while pretending you have an environment that meaningfully represents a production environment.
>extremely complex problem.
Welllllll I ain't no fancy westcoast librul but LAMP stack was good enough for my pappy an' my pappy's pappy and doggonne it's good enuf fer me.
It's the White Man's solution to an Indian world
I would like to know too, saar. We shall bathe in the Ganges first
https://en.wikipedia.org/wiki/Job_Control_Language
>unix sucked so bad they had to reinvent JCL but different
is that true?
That's the gist of it. Unix does not make it easy to manage multiple machines. Hence a new category of computer personel - devops. Google still tries to hang onto the old SRE moniker by trying to retrofit it into the devops. Unfortunately for them Microsoft Azure left GCP in the dust so they larp as SREs with no chance to ever advance to second position. They will be lucky if they remain 3rd.
>Google reportedly set a goal of being a top-two cloud player by 2023
https://www.cnbc.com/2019/12/17/google-reportedly-wants-to-be-top-two-player-in-cloud-by-2023.html
>the cloud that has been wanting to be aws but never has been able to wants to be aws but still isn't and never will be because it's total shit
Dude is worth $2B. Probably more than the CEO
https://www.msn.com/en-in/money/news/business-success-story-from-iit-dropout-to-google-cloud-ceo-the-inspiring-journey-of-thomas-kurian/ar-BB1iL4Uc
>ultra rich non white
>still makes a super shit product that everyone hates
LOOOOOOOOOOOOOL
It's all about larping as Dr. Evil
>how do i <insert anything>
read the docs and stop asking tech illiterate kids on IQfy that spend their life playing pointless video games
Shut the frick up and stop hating on GVMERS and anime lovers on this anime loving board. You don't belong here, loser.
>loser
So you agree? cool siwmae
>siwmae
what?
this is technology you stupid pedo piece of dog shit, have a nice day or go back to the anime board you stupid moron black african ape Black person piece of israelite shit
what the frick is a gumer
Documentation is rarely written with the intent of actually educating.
>can't read documentation
>NO ONE READS DOCUMENTATION
lol
It's the same rationale as how programmers don't know shit about UI design.
people who can't read documentation are beyond moronic and can't be helped. they are morons who need to be spoon fed by people who already read the documentation
so why go to uni and study cs if all we need to do is read the docs?
>go to uni
LOL
>study cs
LOL
absolute idiots believe this is not worthless
ok so what do you do when you encounter shit you don't understand in the docs? if you had a solid degree you'd probably know more about those things. Do you just do research on the subjects that you consider important?
>you had a solid degree you'd probably know more about those things.
there's no way you unironically believe this, this is super moronic. you're super moronic
let's say you want to learn meme learning but you don't have a background in CS or any other STEM subjects. WTF do you do? Pure self study? No degree, exams, anything? Serious quesiton.
>let's say you want to learn meme learning but you don't have a background in CS or any other STEM subjects. WTF do you do? Pure self study?
YOU FRICKING READ ABOUT IT, are you kidding with this? are you some kind of super autist that can't learn? you read documentation and also look at examples people have literally already implemented. you absolutely cannot be serious with this.
>No degree, exams, anything?
degrees are just pieces of paper that attempt to show that you're not moronic and passed some lower bar, they have nothing to do with intelligence. i know tons of people with degrees that are fricking idiots and i cannot believe they were even hired by anyone, and i cannot believe they are able to feed themselves. degrees mean nothing.
No need for the vitriol it was an honest question. I'm also playing devil's avocado here as I agree with you already but you know how obsessed normaltards are with "professionals". I do have a degree but I don't think there's anything special about universities apart from:
>networking with other students
>talking to professors
>incentive for studying so that you don't waste your time and money
>No need for the vitriol it was an honest question.
An honestly moronic question. If you truly weren't pretending to be moronic with that one, just kys
I see you're incapable to add anything else.
I have no more use for you.
>i'm only pretending to be moronic
>continues to be moronic
Still seething? Good.
>telling people they are seething makes me happy
i guess whatever makes your little sad life happy KEK
Buttmad.
wow you're mad, u mad?
>let's say you want to learn meme learning but you don't have a background in CS or any other STEM subjects. WTF do you do?
First start making something, something basic.
Then you read more and continue to make more.
Start here:
https://www.theodinproject.com/
Then read a book about whatever programming language you want.
Then you do this
https://fullstackopen.com/en/
Then read more.
Follow some online university classes or something, whatever you are curious about. Now it is all up to you.
Thanks, that's information is useful. And what about the networking part? How to get so good at networking that I can befriend powerful israelites?
Holy shit nice ESL, Sukdeep. Less programming languages, more english!
Take a networking course at your local university, online university or follow some YouTube lecture.
Then setup your own system by following thede guides, first setup Docker Swarm, then setup Kubernetes:
https://dockerswarm.rocks/
https://k3s.rocks/
dont worry
Is just a “self starter bootcamp” dev who learnt enough to wrap a Hello World JS app in an ingress and is now a “certified cloud professional software engineer” who is a little sensitive when people actually know their trade
i try giving people the benefit of the doubt though, to see if they've actually figured out something easier that I couldn't
>Is just a “self starter bootcamp” dev who learnt enough to wrap a Hello World JS app in an ingress and is now a “certified cloud professional software engineer” who is a little sensitive when people actually know their trade
dunno what this means, im not a dev. are you ok?
If you actually studied CS, you would know that it has nothing to do with modern software engineering practices.
>t. cs degree victim
>nothing to do
low IQ black and white thinking
Computer science is about the theory of computational science you fricking moron. Compiler optimizations, efficient algorithms, cryptography, deterministic finite automata, pumping lemmas, etc., have nothing to do with reading a doc on how to use a technology.
It's like equating theoretical physics with say satellite engineering.
Nobody said anything about equating you obnoxious, illiterate, black-and-white thinking brainlet. CS does have SOMETHING to do with what the documentation is describing. Shut the frick up before you embarrass yourself further
> dur i read the docs so i am a qualified senior computer scientist engineer
lol. lmao.
Nobody said anything about that either. Lol lmao. Is there anything of worth in that tiny head of yours? Nothing? Alright.
lmao you think you need an entire degree, which again has nothing to do with whatever you think it will do for you, to understand a doc written so morons like you can understand hahahahahahaha.
homie thinks only Ph.D holders can understand Kubernetes HAHAHAHAHAHAHAHA
You are severely mentally ill.
Do you have a job bro?
Do you even work for Shlomo the Chomo?
No?
I rest my case.
THIS homie TOO moronic TO READ HAHAHAHAHAHAHAHAHHA
You talk like a Black person.
You have low IQ.
This conversation is over.
Imagine thinking anyone cares. The truth is, you're a moronic Black person who thinks you need a fricking degree with understand documentation intended to be read by morons like you. HAHAHAHAHAHAH DUMBASS Black person israelite LOVING moron homosexual troony Black person
It does help for algorithms and shit but like…if your job is to play with useless middleware like k8s or just repeat buzzwords nonstop like 95% of people. It’s all pointless. I’ve literally worked with MIT and GT grads who just piled middleware up with no understanding of anything and they ended up with bloated junk. Common sense can’t be taught in college.
Yup work with some jeets who are supposedly super educated and were running Python they wrote in some app. It was sucking up 15-60GB resources everytime they use it. Never dawned on them to try and fix it.
Pajeets mad that they're paid peanuts to untangle spaghetti code for first world chads. Also your women cuck you en masse as soon as they set foot in Europe or America.
Oh no, not 16 whole gigarams
Thats almost half a consumer desktop!!!
>Compiler optimizations,
outdated concept
>efficient algorithms,
outdated concept
>cryptography,
outdated concept
>deterministic finite automata,
outdated concept
>pumping lemmas
outdated concept
Next.
I love how the bootcamp pajeet dropped "pumping lemma" out of the blue like it's so fricking relevant. It's like talking about engineering and saying "slopes bro, kilograms, uhh, f = ma"
>he doesn't know what a pumping lemma is
You learn about it in the first powerpoint during an intro course on regular languages, Sukdeep. Nobody cares. You're moronic and brown. WOW! HOT a What Baabhabhiat!
docker compose up -d
so what's the difference between
>docker
>kubernetes
>snap
>flatpak
>apt, aur, dnf, nix
?
>half VM, half chroot
>no fricking idea
>the first, but ubuntu only, proprietary and worse in every way
>1, but more of a chroot, and easier to install
>debian package manager, arch user repository, definitely not fast fedora/redhat package manager, some amalgam of scripting and package management making (one and related) obsolete
!
I sort of get it now. So it's all about chroot/container + virtualization so it's easy to set up things, isolate them (security and debugging reasons and etc.), test them effectively (replication, etc.). Aside from snap, flatpak, apt, etc. I have some experience with chroot but didn't know shit about docker and kates.
> docker
Runs containers. Containers exist to isolate your bullshit, give your bullshit a consistent environment and provide an easily usable artifact
> k8s
Does containers across VMs.
>""""""artifact"""""
The buzzwords these modern developers come up with, w3w
Artifact has been a term since long before your time, unemployed zoomie
NTA but why is being unemployed bad? It just means you're not working for a manlier man than you who owns your time and makes you do what he wants which is kinda gay if you ask me.
"Build artifacts" is a relatively new buzzword you gorilla Black person. Back in my time, when everything wasn't an "App" and you didn't need 24 letter words to describe your work position nobody described build solutions as Black personlicious "Artifacts".
very cool terry clone impression. maybe next time you can come up with your own hip word. or maybe not cause you're not actually clever or funny enough.
please return to your holy c calculator and let the big boys talk about actually useful systems.
>relatively new
At least 15 years, anon.
Oh cool, now I get it. Thank you, anon. So they both run containers but kates does it across VMs, right? Must be why I keep hearing the word "orchestrator."
K8s uses a container runtime, potentially docker but maybe containerd or some other shit like crio.
It doesnt run containers itself. It does things like kill containers using too many resources, wrangle the distribution of containers to multiple nodes, create obscure networking bugs to keep DevOps busy etc
I see so it's a hierarchy. K8s uses docker (or something similar) to do stuff, and you have a bunch of scripts surrounding them, right? And inside of those containers you have the actual codebase for your company's apps.
Not sure what “scripts surrounding them” means.
In the containers could be various apps. Maybe they are compiled source of your company’s product, maybe they are installations of other people’s binaries. But more or less yes.
>Not sure what “scripts surrounding them” means.
Is this k8s/docker business the outermost layer of what companies are doing? Is there nothing else higher on the hierarchy? So we have k8s>docker>container>apps. Anything else?
Thanks for the explanation btw, this is starting to make some sense.
Let's talk in a concrete example. It has taken me a while to write this because it really is a complex problem that evolves over time, despite what the terminally useless will tell you about "plain ol' simple software when it WUZ GUD".
Your company has some Python code that identifies dogs versus cats with 99% accuracy and you wish to sell that as a service. You wrap the core code up in a Django app. How do you then make it available to users?
You could get a static IP + domain name, run that Django app on a server in the back room. Great, hundreds are now using your service a day. Now people are uploading malicious files just to punk you. Also the tech talent wants to add logic for turning identified dog pictures into cats with some magic ML sauce. But they're too "busy" to update it and it now needs a different version of pandas or some shit so it'd need to run in a different virtual environment, at the very least.
First step, you split out the code for the DogConverter versus DogIdentifier. You produce some artifact for running these on a container runtime (ie; docker, crio, containerd). Now your shit doesn't frick each other up with dependency woes, at least. You run both images on the server using Docker
Your mustachioed Django devs are too busy sipping lattes to write a program for identifying malicious files. So you grab an existing product. Handily enough, they produce docker images already so you literally just `docker run virus-scanning-image` and plumb it in between your app receiving an upload and processing it.
Thousands use is-this-a-dog-and-can-i-convert-it-to-a-cat.com a day. Often they want to pay lots of money to convert the dog to a cat, but it's far more resource intensive than the DogIdentifier and they currently need to run on the same machine. You're losing money because the product still does not scale. You could buy more servers and run docker + a copy of each of the applications. Then maybe you distribute traffic to those two machines somehow (idk; apache reverse proxy or some shit). This is ok, but it's fairly wasteful and brittle.
Tens of thousands use your site. You need more copies of the product to support this. You move to the Cloud because it's easier to pay Amazon to do the hardware bullshit. You can now have as many VMs as you want with a few button clicks. You still need to frick around, probably with handrolled scripts, to stand up a new copy of the product. Also Timothy added some fricking trash Python that accidentally rm rfs the entire webapp at a random point in the day. Luckily it's containerized so nothing happens with the actual machine. You still need a way to a) know it's fricked b) unfrick it; probably by hand restarting the container. Also; DogConverter sees super bursty usage around midday UTC due to the global distribution of furrys. You pretty much always see downtime/bad performance at this time.
At this point, you might consider Kubernetes:
It can:
a) run copies of DogConverter separate to DogIdentifier and VirusDetector (it's simple and written by competent devs, your entire system could be serviced by a single copy)
b) Not care where these copies run; just hand it some EC2 instances and let it decide how to allocate it efficiently
c) Automatically scale DogConverter as usage dictates
d) Have it all communicate without having to frick around with network config yourself; standardize some way for this to all talk so when the devs produce a new "AI Chatbot that replies exclusively with barks" you can fit it in seamlessly.
e) Ensure the application is alive and working; if it isn't just restart the piece of shit
Does k8s enable bad behavior? Devs are no longer handling errors or handling exceptions. It is bettor to let the app to die and be restarted by the kubelet. They also think these restarts are instantaneous.
Nobody good is doing that. Unfortunately in large systems you are going to work with morons.
>Does k8s enable bad behavior? Devs are no longer handling errors or handling exceptions.
Let me tell you from personal experience that you don't need to use Kubernetes for this to happen. Bad devs are bad devs, no matter the company, time or place.
I know a dev who's program crash every single time it runs in production, he just shrugs his shoulders and say
>Works on my machine
Sounds like total bullshit, like you made it up.
Thanks a lot anon. I knew some of this stuff but as I was missing information and did not know anything about containers and etc. I couldn't put it all together but this is a really good summary and I feel like I understood it well, not just containers but a larger overview to boot. I'm really grateful for your effort post. I used to be autistically annoyed by this container shit and didn't want to read anything about it but your posts made me realize they sound useful and very sensible.
>docker
Assuming you mean containers (I recommend podman), they are cgroups, a chroot and namespaces. Containers allow for mostly-isolated environments that make deployments and dependency/config management a breeze whle offering a common API to run a program,
>kubernetes
Container orchestration, it lets you declaratively manage container scheduling as well as the things that you need around them, like load balancers, external providers (e.g. secrets) and storage.
One example is that you as an app developer can set a required type of storage, e.g. 50 GiB of SSD and 1 GiB of NVMe, without caring where that storage comes form. The Kubernetes control plane will then create a Persistent Volume Claim to bind some random NAS storage volumes available to the cluster somewhere to your app. You can run hundreds of services across teams without any dev ever having to deal with the underlying resources.
>snap
fricking garbage for morons by grifters, an attempt by Canonical at vendor lock-in via package management.
>flatpak
Similar to containers, half-isolated applications but with a bunch of defaults and a specific purpose, to distribute GUI apps for the desktop instead generic backend services as with containers.
>apt
package manager for Debian and its derivatives
>aur
AFAIK Arch User Repository, community packages that are not maintained by the distro.
>dnf
dandified yum, successor to yum, the package manager for anything downstream of fedora (Fedora -> CentOS Stream -> RHEL/SUSE)
>nix
A configuration (bordering on programming) language. Known for offering an immutable and declarative way to manage your entire local install.
That's an entire topic unto itself, search for NixOS.
>snap
garbage for morons by grifters, an attempt by Canonical at vendor lock-in via package management.
Multipass is pretty cool though and probably the only worthwhile snap.
>tfw dont even know how to make the docker compose of the frontend-backend-database system I want
Then you are moronic. What do you struggle with? Other than opening the milk bottle in the morning.
you don't know how to make a yaml file? you don't know how to google "docker compose file example"? you're a super fricking moron, get the frick outta here
Sorry troon, not leaving my home board
Let’s pretend you’ve had enough bullying (you havent; frick you and your feed me attitude)
Just have 2 images;
Mysql:latest
YourApp:1.0
Where YourApp is FROM Apache and has some php in it.
Connect the 2 with a network. Done.
> inb4 hiss ree php is old and ugly i want React and Express
Do the fundamentals and then you can start doing the autistic SV techbro framework dance
someone’s never had to scale
>this thread
once again it is confirmed that IQfy would put even IQfy to shame in the unemployment rate department
why do you want to learn kubernetes? are you a developer deploying on containers or are you looking to do devops or whatever the latest buzzword is?
if the latter, please learn some good ol linux sysadmining, CCNA level networking and architecture first
don't focus too much on YAML manifests and moronic k8s terms, foundation is everything
Read the docs. Then start setting shit up. It’ll cost money so ideally do it at a startup willing to burn VC money.
Why do you want to?
t. manage 12 clusters with over 1TB of ram squandered on Enterprise Applications of the Highest Quality TM
learn iptables
this piece of shit is partially usable now thanks to gpt4
CKA course on Udemy. Pirate it on rutracker if you don't want to pay but the interactive part will be gone.
Goofy stuff we’re >5 years till people go…
>wow cloud dumb and bloat
>wow container okay
>wow container orchestrator dumb and bloat
>he still can't explain what a pumping lemma is
>shitskin so afraid of me can't even give me a direct reply
Why don't you explain it, shitskinned genius. Impress us with your knowledge of what's basically the f = ma of introductory CS.
>he still thinks you need a CS degree to understand kubernetes documentation
>xhe still needs my help undestanding pumping lemma and still thinks xhe needs a degree to learn a technology
I NEED A MECHANICAL ENGINEERING DEGREE TO DRIVE A CAR
I NEED THE GOOD GOYIM CERTIFICATE TO CODE
Calm your breasts, Sukdeep.
Tell us why they call you Sukdeep.