News for hackers. Stuff that matters.
Re:Kubernetes is our generation's Multics by threeseed on Wednesday July 21, 2021 @05:27PM (#27912439)
This argument is often made and is ridiculous.

No one should or is using Kubernetes to run a simple LAMP stack.

But if you have dozens of containers and want them to be manager in a consistent, secure, observable and maintainable way then Kubernetes is going to be a better solution than anything you build yourself.

Re:Kubernetes is our generation's Multics by tmp_anon_22 on Wednesday July 21, 2021 @05:33PM (#27912490)
> No one should or is using Kubernetes to run a simple LAMP stack.

Yes they are. Some developer got all excited about the capabilities of k8s, and had an initial larger scope for a project, so they set it up with GKE or EKS, and it managed to provide just enough business value to barrow in like a tick that won't be going away for years.

Developers get all excited for new shiny tools and chuck it into production all the time, particularly at smaller orgs.

Re:Kubernetes is our generation's Multics by debarshri on Wednesday July 21, 2021 @05:35PM (#27912516)
I have seen smaller RoR, Django or lampstack apps being deployed on kubernetes exactly for reasons you mentioned. It is often pitch as a silver bullet for the future.
Re:Kubernetes is our generation's Multics by michaelpb on Wednesday July 21, 2021 @06:55PM (#27913196)
When Boss says "my idea is gonna be HUGE, so make this go fast", you can either spend 4 hours optimize some DB queries, or you can spend 40+ hours in a broadly scoped "conversion" project and have a new thing to add to your resume, and then spend 4 hours optimizing some DB queries...
Re:Kubernetes is our generation's Multics by debarshri on Wednesday July 21, 2021 @09:00PM (#27914128)
One of the worst, bazooka in knife fight moment was when I interviewed for a company that was a medium scale direct to consumer streaming service that was built some custom resource to create one pod per user, their worst case scenario was where they would have around 1000 concurrent users.
Re:Kubernetes is our generation's Multics by alephu5 on Thursday July 22, 2021 @02:37AM (#27916103)
I worked in a Python web-scraping team doing 3 million requests per day. Their solution to manage concurrency was also one pod per crawl, each with its own DB connection. It really struck me as crazy that everyone thought this was a good idea.
Re:Kubernetes is our generation's Multics by ryandrake on Wednesday July 21, 2021 @07:15PM (#27913366)
Strikes me as someone buying a massive SUV, to only use it to move one bag of groceries from the store every week. Some day in the future they might suddenly have a family of 6 to feed or have to haul a boat somewhere, so better get the big, overkill car.
Re:Kubernetes is our generation's Multics by freeopinion on Wednesday July 21, 2021 @08:23PM (#27913878)
I have personally experienced the other end of that problem, and it applies just as well to the k8s discussion. When all the kids are gone it's hard to admit you're not a soccer mom anymore and adjust to grandma mode. It can be a hard thing to trade in the Suburban for the Lincoln. Oh wait, Lincoln's aren't the cool thing so much anymore. That whole world changed while I was driving Suburbans.
Re:Kubernetes is our generation's Multics by clpm4j on Wednesday July 21, 2021 @08:03PM (#27913716)
This describes ~70% of adults in the southeastern US.
Re:Kubernetes is our generation's Multics by jlaurend on Thursday July 22, 2021 @11:54AM (#27920364)
Heh, as someone who came very close to doing this (i.e. using k8s for a LAMP-stack type app at a startup), it's not just "shiny object syndrome" driving people to do this. Here's what our progression looked like:

1. Start with basic LAMP app in git that's manually deployed to an EC2 instance 2. Add in CI / CD + CodeDeploy 3. Create a staging environment 4. Dockerize local environment to keep dev environments in sync and onboard easier (really, this part's a gamechanger for a small company) 5. Ok so now we have Docker for local dev environments but stage and prod are managed separately. Can we just run our Docker containers in stage / production?

When I researched step 5, the options were basically k8s or Docker swarm but Docker swarm didn't seem battle tested (for prod). k8s was clearly a nightmare for a small team to maintain so we started looking into GKE / EKS -- but EKS was still in beta. Thus we punted. We've actually started using ECS for a newer project and I'd likely go that route for step 5 instead.

Re:Kubernetes is our generation's Multics by danjac on Thursday July 22, 2021 @01:40AM (#27915767)
It tends to happen with startups I think because developers know the startup is likely not going to be around for long, or they will move on in a couple years anyway. So why not shoehorn whatever tech you want and have that skill in your resume? Of course now the startup will need to hire for that tech when you leave and the cycle continues...
Re:Kubernetes is our generation's Multics by threeseed on Wednesday July 21, 2021 @05:35PM (#27912515)
> initial larger scope for a project

So they weren't trying to run a simple LAMP stack then.

Re:Kubernetes is our generation's Multics by naniwaduni on Wednesday July 21, 2021 @05:50PM (#27912653)
Trying and doing can be very different things.
Re:Kubernetes is our generation's Multics by dvtrn on Wednesday July 21, 2021 @05:34PM (#27912502)
I agree that you probably shouldn’t but if you think no one “is”, I’d point to my last job, an enterprise that went to k8s for a single-serving php service that reads PDFs.

I recently asked a friend who still works there if anything else has been pushed to k8s since I left (6 months ago). The answer: no.

Re:Kubernetes is our generation's Multics by derfabianpeter on Wednesday July 21, 2021 @06:04PM (#27912779)
Sounds familiar.
Re:Kubernetes is our generation's Multics by rodgerd on Wednesday July 21, 2021 @06:35PM (#27913035)
Alas, a lot of people are. One of the reasons there's such a backlash against k8s - other than contrarianism, which is always with us - is that there are quite a few people who have their job and hobby confused, and inflicted k8s (worse yet, raw k8s) on their colleagues not because of a carefully thought out assessment of its value, but because it is Cool and they would like to have it on their CV.
Re:Kubernetes is our generation's Multics by michaelpb on Wednesday July 21, 2021 @06:49PM (#27913145)
> No one [...] is using Kubernetes to run a simple LAMP stack.

Au contraire! This is very common. Probably some combo of resume-driven devops and "new shiny" excitement.

Re:Kubernetes is our generation's Multics by rileytg on Wednesday July 21, 2021 @10:22PM (#27914567)
or if you have a small team that must manage hundreds of these lamps…

i started by simple wrapper around docker 8 or so years ago. over the years we’ve moved to k8s b/c it provided essentially the same api we had home grown. this reduced the LoC and moved the complexity of something like dynamic reverse proxy via nginx downstream into kubernetes ingress abstraction backed by nginx-ingress-controller.

Re:Kubernetes is our generation's Multics by danjac on Thursday July 22, 2021 @01:42AM (#27915783)
That's not resume driven development though, that's picking the best tool for the job when you've outgrown the current solution.
Re:Kubernetes is our generation's Multics by lamontcg on Wednesday July 21, 2021 @05:51PM (#27912668)
I love the way that the Kubernetes debate always immediately devolves into Kubernetes vs. DIY where Kubernetes is the obviously correct answer.

Two groups of people shouting past each other.

Re:Kubernetes is our generation's Multics by FpUser on Wednesday July 21, 2021 @08:33PM (#27913941)
My argument is that much of web development now often involves insane amount of tooling infrastructure and complexity all for the sake of delivering on cloud, scalable, virtualized, dockerized and otherwise over-processed equivalent of "hello world".

And 99% (rhetoric number of course) of needed solutions would be served by a single real server (rent one on Hetzner or wherever) with 0 need to ever upgrade.

Re:Kubernetes is our generation's Multics by refenestrator on Wednesday July 21, 2021 @09:15PM (#27914219)
Another interesting angle about the single real server is the reliability.. it'll eventually break from some physical cause, that happens, it hurts your uptime.

But sometimes with the big microservice/kubernetes solution, the configuration space is so big that miscommunications/mistakes could potentially take you down for more hours/year than the downsides of being single-hosted would. So now you invested all of that effort and for what?

One company I worked for wrote a distributed scheduled jobs system that was immune to single-machine failures, it went down like 4 times in a year, messing up my team each time. I was like "guys, if we just provisioned one machine with cron and no failover, it would have better reliability".

Re:Kubernetes is our generation's Multics by crooked-v on Wednesday July 21, 2021 @09:02PM (#27914142)
At a previous company we had Series C financing and enough people to take over two floors of an office building... and our entire SaaS offering for hundreds of white-label business customers ran fine on a couple of big load-balanced EC2 VMs and one big Postgres database with some read replicas.
Re:Kubernetes is our generation's Multics by patmorgan23 on Wednesday July 21, 2021 @10:28PM (#27914596)
Yep, HA clusters/load balancing has been around for a long time and will get you pretty far even in some pretty large environments. Hell my companies main LOB app is running off a single Microsoft SQL serve(I know, I know, we have a lot of tech debt we're working through atm and it's on the list to set up HA). The longest downtime we've had was when we had to take it down to migrate it to our new hardware cluster and that was because the data transfer took 20 hours over a 1 GB port.
Re:Kubernetes is our generation's Multics by lamontcg on Thursday July 22, 2021 @12:19AM (#27915300)
That doesn't look good on a resume though and definitely won't get you hired at a FAANG company.
Re:Kubernetes is our generation's Multics by FpUser on Thursday July 22, 2021 @07:28AM (#27917649)
I design and implement products. That is what my resume says along with the list of said products and some references. This is usually enough to land me a contract. Been on my own 20 years already and make money from some products of my own or creating those for clients. The last thing I need is a job at FAANG.

Besides if it warm the cockles of your heart so much you can always take any of my products and shove it in the container and run it under k8.