Live data from Hacker News

Why is Kubernetes getting so popular?

stackoverflow.blog

641–650 of 681 posts

Re: Why is Kubernetes getting so popular?

#641
It has most of the features needed.

Everyone was trying to make a system simple and adopted, but if you want it to be adopted, it's going to need a lot of features. Also Google worked some real magic in getting Kubernetes being supported by all the cloud providers.

It's a framework that will enable you to do what you want, while being the standard.

You could write your script to do that in a simpler way, but most people already know the standard and it's easier for everybody to understand Kubernetes rather than your clever solution.

Re: Why is Kubernetes getting so popular?

#642

I've been completely perplexed by how I might repeatably and reliably setup a single DigitalOcean (or similar) server. I can't just blow away the instance, make a new one with their API, and run a bash script to set it up because I need to persist some sqlite databases between deploys. Nix looks promising, but also seems to be a lot to learn. I think I'd rather focus on my app than learn a whole new language and ecos…

I’m a huge K8s advocate but if all you’re looking for his a repeatable way to spin up DO droplets then use a user-data script.

User data is a bash script that can be automatically run when the machine first spins up.

You could pass that script via digital oceans cli or even a tool like terraform.

Re: Why is Kubernetes getting so popular?

#643

Earlier quoted context omitted.

I am ready! NetBSD is running on the toaster. I think haproxy can do 10K req/s. tcpserver on the backends. I only write robust shell scripts, short and portable. As a spectator, not a tech worker who uses these popular solutions, I would say there seems to be a great affinity amongst in the tech industry for anything that is (relatively) complex. Either that, or the only solutions people today can come up with are co…

> because it is not being used by well-known tech company and not being worked on by large numbers of people, it would not be newsworthy. And at this point the hobbyist might wonder, "why isn't my toaster software being used by well-known companies? where are the pull requests to add compatibility for newer toaster models?" > As a spectator, not a tech worker who uses these popular solutions, I would say there seems…

"And at this point the hobbyist might wonder..."

Not this one. :)

Re: Why is Kubernetes getting so popular?

#644

Earlier quoted context omitted.

But I want to be able to update my haproxy config with a git push, and roll it back with a single command, without sshing into anything, if something goes wrong. I want my everyday administration to be simple. Not the initial setup.

k8s did not invent gitops.

No but it sure as hell made it a lot easier and straightforward.

Re: Why is Kubernetes getting so popular?

#645
post #595

Earlier quoted context omitted.

Except to some of us it shows just the opposite.

Its starting to get depressing at my age. After nearly 20 years in the industry I think I have a knack for keeping things as "simple as necessary and no more" and managing complexity. Unfortunately interviews are full of bullshit looking at pedantic nitpicking, or stuff I learned 20 years ago in university and have never needed to use since.

Someone else above in the thread believes there is "great value" in being able to accomodate complexity, what the commenter refers to as a "general" solution, as well as this being worth any cost in performance. God help you if these are the type of people who are doing the interviews. Despite pedantic technical questions, I doubt they are actually screening for crucial skills like reducing complexity. Rather, the expectation is that the tech worker will tolerate complexity, including the "solutions" to managing it that are themselves adding more complexity, e.g., abstraction.

Re: Why is Kubernetes getting so popular?

#646
post #609
post #585

Earlier quoted context omitted.

remote syslog has been a thing for how many years?! As has using a standard distribution for your app with a non-root-user for each app, easily wiped and set up every deploy (hint: that's good for security too!). Monitoring was also a solved problem and I guess Cron logs to syslog. Rollback works just like a regular deploy? (I wonder how good k8s helps you with db-schema rollbacks?)

Setting all of that from scratch is not really that easy, and I wouldn't consider "monitoring" to have been a "solved problem". syslog over TCP/UDP had many issues which is why log file shippers happened, and you still need to aggregate and analyze it. Getting application to reliably log remotely is IMO easier with k8s than remote-writing syslog, as I can just whack the developer again and again till it logs to stdou…

Yes, k8s makes it easier and more consistent. But it's not like all the stuff from the past suddenly stopped working or was not possible like GP made it sound ;)

Re: Why is Kubernetes getting so popular?

#647
post #581

Earlier quoted context omitted.

Instead of a varied interface tools set, I can have one with consistent interfaces and experiences. Kubernetes is where everything is going, hence why TF and Ansible have both recently released Kubernetes related products / features. It's their last attempt at remaining relevant (which is more than likely wasted effort in the long run). They have too much baggage (existing users in another paradigm) to make a success…

Last attempt at remaining relevant - lol. This isn’t a competition, they are tools. Ansible is widely used and will continue to be so for a long long time. Its foundations - ssh, python and yaml are also in for the long run to manage infrastructure...

Yaml is on the way out, Cuelang will replace it where it's used for infra. It's quite easy to start by validating yaml and then you quickly realize how awesome having your config in a well thought-out language is!

Re: Why is Kubernetes getting so popular?

#648
post #394

Main benefits of Kubernetes: • Lets companies brag about having # many production services at any given time • Company saves money by not having to hire Linux sysadmins • Company saves money by not having to pay for managed cloud products if they don't want to • Declarative, version controlled, git-blameable deployments • Treating cloud providers like cattle not pets It's going to eat the world (already has?). I was…

I am ready! NetBSD is running on the toaster. I think haproxy can do 10K req/s. tcpserver on the backends. I only write robust shell scripts, short and portable. As a spectator, not a tech worker who uses these popular solutions, I would say there seems to be a great affinity amongst in the tech industry for anything that is (relatively) complex. Either that, or the only solutions people today can come up with are co…

Deploy that toaster on k8s and now you have a vc funded startup.

Re: Why is Kubernetes getting so popular?

#649

Earlier quoted context omitted.

We just spent months at my workplace working on a system to reliably define and configure a set of parallel silo'ed integrated datastores, services, and network stack within Kubernetes/ISTIO (and AWS), and to reliably upgrade new software revisions within those silos and to account for the changing "shape" of the configuration/content in these silos. It's repeatable and safe now, but it took a lot of effort.

Is any of your new stack open sourced?

Not yet ... perhaps some day.
Post reply on HN