News for hackers. Stuff that matters.
Re:It’s Time to Embrace Kubernetes Really? by throwaway201103 on Thursday December 10, 2020 @02:14PM (#25377240)
If you're mom/pop online shop and just need 1 machine you don't need k8s. KISS principle applies.
Re:It’s Time to Embrace Kubernetes Really? by WJW on Thursday December 10, 2020 @02:22PM (#25377366)
From my experience, deploying to a k8s cluster managed by someone else is extremely simple and straightforward. Tell it which container to run and off it goes. You get zero-downtime rolling deploys, automatic restarts on crashes, easy rollbacks, service discovery (if you have multiple services) and more for free.

Managing a cluster is the tricky part of k8s but just running your stuff on an existing cluster is extremely straightforward. I could definitely see the attraction of a cheap managed k8s cluster with a single node. Maybe hosted k3s or something.

Re:It’s Time to Embrace Kubernetes Really? by bpodgursky on Thursday December 10, 2020 @02:19PM (#25377327)
A ton of the value from k8s is in the programmatic and replicable configuration. 1 computer pets are still bad in a mom and pop shop. 1 computer livestock is still better.
Re:It’s Time to Embrace Kubernetes Really? by kitotik on Thursday December 10, 2020 @02:46PM (#25377682)
Is “1 computer livestock” even possible?

After your single cattle is murdered, the next one has to be raised right?

State has to come from somewhere. Downtime has a cost for most businesses.

Re:It’s Time to Embrace Kubernetes Really? by aaomidi on Thursday December 10, 2020 @04:06PM (#25378669)
In this case the state can come from a centrally managed k8s controller. Something that most cloud providers provide and have good SLAs on.

Kubernetes just makes that story so much simpler. Heck a good cloud provider can just handle any machines fucking up automatically without any human intervention on your side.

The same can't be said for a single machine.

Re:It’s Time to Embrace Kubernetes Really? by bpodgursky on Thursday December 10, 2020 @03:18PM (#25378023)
Downtime has cost.

But being able to blow away a k8s node and bring it back up in 2 minutes (or have k8s auto-spawn a replacement node) is WAY faster than having to reinstall wordpress, reinstall nginx, set IP addresses, fiddle with your DNS, restore a database from a backup, etc, etc, etc.

Re:It’s Time to Embrace Kubernetes Really? by throwaway894345 on Thursday December 10, 2020 @02:25PM (#25377417)
Not to mention everything you have to do to get a machine to parity with Kubernetes--set up SSH, process management, monitoring, logging, etc. I don't think I'd go so far as to say Kubernetes is the right tool for this use case, but I certainly empathize with the sentiment.
Re:It’s Time to Embrace Kubernetes Really? by twelve40 on Thursday December 10, 2020 @04:44PM (#25379146)
so... for a small cluster then it's like aws beanstalk, right? rolling deployments, load balancing, etc. all for free.
Re:It’s Time to Embrace Kubernetes Really? by rhacker on Thursday December 10, 2020 @02:18PM (#25377296)
Well, in this case the pop is me, and I know k8s but I don't want to invest 15-35 / month on a side project but would still rather have a decently managed site rather. I don't want to go back to FTP crap at this point.

A car is a hugely complicated machine and I'm sure in the 1910s people said only some people will ever need them. Bad analogy considering cars kill lots of people but take that part out :)