Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
yehaaw25682y@mansur85 I have no idea. Did a revert. Worked my way through bunch of broken bash scripts and 12 env files across multiple subdirectories.
Kill me. -
Usually it's not kubernetes that's annoying, but the "glue" either between k8s and CI, or between cloud-config and the app/pod. Because they are custom-made by someone who has no clue how to write shell scripts right :)
Which case was yours? -
b2plane63922yExplain what kubernetes is and does. I only used docker by now but i see some jobs require kubernetes. Wtf is it
-
yehaaw25682y@netikras
All of it and more. I’ve seen this quality of code both in backend and the frontend *maybe* twice in my entire career. -
@b2plane know what a docker container is?
Now how do you run multiple containers at once? Docker-compose, great tool!
But I have 5 servers, how do I coordinate docker-compose to use all 5 servers to run my containers? And how do I load balance these containers on all these different servers? Can I migrate containers from one server to another?
Kubernetes does this, tell it to 'run 3 instances of this container' and it'll spread it on those 5 servers. If one server dies it wil automatically restart containers on the other ones -
b2plane63922y@alexbrooklyn ok.
1. I also saw devs use AWS load balancer, what is it and what does it do?
2. Also why would i need 5 servers?
3. At what stage of software should i say oh shit having 1 digital ocean server is not enough i need more?
4. How do more servers impact 1 single software, or am i wrong, are multiple servers used to run multiple different software or just 1? -
@b2plane
1. Most likely load balance between multiple kubernetes servers. K8s also offers a load balacing within your cluster, so you can run multiple of the same container with automatic load balancing between them
2. For availability (one can die) and scaling, having 5 cheap servers run your workload is sometimes cheaper than 1 expensive one
3. If you have so many containers that there isn't enough space anymore
4. Scaling mostly, having 2+ instances of the same app running allows your app to handle more load. K8s even allows autoscaling to increase scaling during busy hours. -
b2plane63922y@alexbrooklyn i know these are advanced dev topics but apparently i cant get hired as a junior dev in my country without having these advanced skillset knowledge...
5. what other devops shit should i learn as a java spring boot/angular/flutter dev besides kubernetes and docker?
6. What shit should i learn regarding AWS? -
hjk10156962y@b2plane 2b a bit more respectful. @alexbrooklyn took the time to dumb down container orchestration. A thank you does more than attitude responses.
-
b2plane63922y@hjk101 hell fucking no bruh. I'll say thank you when i am definitely done asking questions. What am i supposed to do ask 10,000 questions and say 10,000 times thank you? No I'll say it once at the end and thereby expressing my gratitude for his explanation and time because im done asking questions
-
b2plane63922y@hjk101 are you gonna copy and paste the same code 10,000 times or are you gonna write a for loop that loops through 10,000 items?
Related Rants
Fuck, I hate shitty Kubernetes setups. Took me 18 hours to start the web app. Fucking shit.
rant
stop it
kubernetes