Live data from Hacker News

Why is Kubernetes getting so popular?

stackoverflow.blog

351–360 of 681 posts

Re: Why is Kubernetes getting so popular?

#351
This article adds nothing to common knowledge everyone with a bachelors degree in computer science is completely aware of. Can anyone tell me what I missed? Or where is the reason why this post is trending among people whose background I cannot grasp?

Re: Why is Kubernetes getting so popular?

#352

Earlier quoted context omitted.

So give me a (possibly private) ASN, a couple bgp peers, and the frrouting suite. ACME is not difficult either.

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.

Re: Why is Kubernetes getting so popular?

#354

The simple answer is that Kubernetes isn't really any of the things it's been described as. What it /is/, though, is an operating system for the Cloud. It's a set of universal abstraction layers that can sit on top of and work with any IaaS provider and allows you to build and deploy applications using infrastructure-as-code concepts through a standardized and approachable API. Most companies who were late on the Clo…

Yes, people ought to do a side by side comparison of a new user learning to K8S v AWS v GCP before claiming Kubernetes adds more complexity than it returns in benefits. Remember the first time you saw the AWS console? And the last time?

I've spent in total a tenth as much time learning k8s and related systems, as I have spent on AWS.

Most situations I have a direct comparison, k8s takes less ops. Often thanks to helm.

The AWS console is designed for lockin and I could use configuration management for AWS too but the time required to go through their way of doing x is just not worth it. Unless I want to become a AWS solutions architect consultant

Re: Why is Kubernetes getting so popular?

#355

The simple answer is that Kubernetes isn't really any of the things it's been described as. What it /is/, though, is an operating system for the Cloud. It's a set of universal abstraction layers that can sit on top of and work with any IaaS provider and allows you to build and deploy applications using infrastructure-as-code concepts through a standardized and approachable API. Most companies who were late on the Clo…

Just running docker-compose on load balanced machines is pretty close to having all k8s features (that would give you an endpoint, scaling, running pods[containers],heartbeats and nodes[vms]). If you run Kubernetes on GCP you will see it's just a wrapper of GCP vms, load balancers, instance groups and disks. EG: GCP k8's autoscaling for the nodes isn't any better than just simple GCP load balancers and instance group…

We edit yaml files everytime we update a service version, which happens multiple times per week? Is there a better way to deal with this?

Re: Why is Kubernetes getting so popular?

#356

The simple answer is that Kubernetes isn't really any of the things it's been described as. What it /is/, though, is an operating system for the Cloud. It's a set of universal abstraction layers that can sit on top of and work with any IaaS provider and allows you to build and deploy applications using infrastructure-as-code concepts through a standardized and approachable API. Most companies who were late on the Clo…

IaaS is not "the cloud". it was in 2008 when all we had was EC2 and RDS. Today Kubernetes is the antithesis of the cloud - Instead of consuming resources on demand you're launching VMs that need to run 24/7 and have specific roles and names like "master-1". Might as well rent bare-metal servers. It will cost you less.

You are completely wrong. It is trivial to have your k8s control plane and your workload cluster in something like an ASG, and basically know nothing about the nodes in either group. I'm not even using GKS or EKS, just ASGs on AWS. My servers and applications are cattle, not pets.

I knew literally nothing about k8s in September and now I have multiple clusters humming along, treating the worker cluster nodes as a generic pool of compute, autoscaling the cluster as well as the pods inside it. Upgrading is a breeze, I have great observability, I can deploy experiments and new applications with a single CI step or click, in fact I have nodes that are killed and get replaced for cost savings by SpotInst in the middle of the business day and I don't even need to know about it. My load balancers and even DNS are all provisioned for me and I can use the same Helm charts to create an identical staging and production environment.

Kubernetes IS the spirit of the Cloud and 12 factor apps. It's not that scary, and with tools like Rancher and k3s you can make it even simpler.

Re: Why is Kubernetes getting so popular?

#357
I remember when Docker and K8 emerged and YAGNI kept everything in perspective. Unless you had a fleet of hundreds of servers to manage and spin-up at a moment's notice you just used Chef, Puppet or Ansible. Now nothing's too small for this ridiculously over-engineered technology. Got a WordPress blog? You're doing it wrong if you don't put it in a Docker container and launch it with K8. Same with a lot of Rails projects for which Capistrano was more than aadequate. Just gotta scratch that itch until you've no more skin left.

Re: Why is Kubernetes getting so popular?

#358

Earlier quoted context omitted.

Persistant volumes rely on NFS (or a flavor thereof), which is not great for database performance. But that's a moot point anyways, since Vitess doesn't use persistent volumes - it reloads the individual DBs from backups and binlogs when a pod is moved or restarted.

couldn't they shovel it into dynamodb?

Theoretically, sure. But Vitess is - as Kubernetes is - provider agnostic.

But if you’re talking about the DB, sure to that too. But, not my decision.

Re: Why is Kubernetes getting so popular?

#359
post #280

I honestly couldn't tell you. What I can tell you, is that the unbelievable bloat in the complexity of our systems is going to bite us in the ass. I'll never forget when I joined a hip fintech company, and the director of eng told us in orientation that we should think of their cloud of services as a thousand points of light, out in space. I knew my days were numbered at exactly that moment. This company had 200k uni…

Does there exist a solution that does what kubernetes does but without the complexity?

If such a tool does not exist do any of you feel that the creation of such a tool is within the realm of possibility?

I would imagine all these knobs could have default configurations that 99% of all users would be okay with and that the knob should only be exposed in a small amount of cases.

Re: Why is Kubernetes getting so popular?

#360

I’ll take a shot. k8s is popular because Docker solved a real problem and Compose didn’t move fast enough to solve orchestration problem. It’s a second order effect; the important thing is Docker’s popularity. Before Docker there were a lot of different solutions for software developers to package up their web applications to run on a server. Docker kind of solved that problem: ops teams could theoretically take anyt…

> k8s is popular because Docker solved a real problem and Compose didn’t move fast enough to solve orchestration problem. It’s a second order effect; the important thing is Docker’s popularity.

I introduced K8s to our company back in 2016 for this exact reason. All I cared about was managing the applications in our data engineering servers, and Docker solved a real pain point. I chose K8s after looking at Docker Compose and Mesos because it was the best option at the time for what we needed.

K8s has grown more complex since then, and unfortunately, the overhead in managing it has gone up.

K8s can still be used in a limited way to provide simple container hosting, but it's easy to get lost and shoot yourself in the foot.

Post reply on HN