Live data from Hacker News

Why is Kubernetes getting so popular?

stackoverflow.blog

211–220 of 681 posts

Re: Why is Kubernetes getting so popular?

#211
post #47
post #10

Earlier quoted context omitted.

Have you tried or considered Nomad (from the makers of Terraform)?

can it handle networking (including load balancing and reverse proxies with automatic TLS) or virtualized persistent storage? Make it easy to integrate common logging system? Cause those are the parts that I miss probably the most when dealing with non-k8s deployment, and I haven't had the occasion to use Nomad.

Those are the advantage and the problem of nomad. We're using it a lot by now.

Nomad, or rather, a Nomad/Consul/Vault stack doesn't have these things included. You need to go and pick a consul-aware loadbalancer like traefik, figure out a CSI volume provider or a consul-aware database clustering like postgres with patroni, think about logging sidecars or logging instances on container hosts. Lots of fiddly, fiddly things to figure out from an operative perspective until you have a platform your development can just use. Certainly less of an out-of-the-box experience than K8.

However, I would like to mention that K8 can be an evil half-truth. "Just self-hosting a K8 cluster" basically means doing all of the shit above, except its "just self-hosting k8". Nomad allows you to delay certain choices and implementations, or glue together existing infrastructure.

K8 requires you do redo everything, pretty much.

Re: Why is Kubernetes getting so popular?

#212
post #199
post #177

Earlier quoted context omitted.

I think this is a good answer. I'll add that as soon as you need to do something slightly more complex, without something like k8s you aren't going to be happy with your life. With k8s, it's almost a 1 liner. For example, adding a load balancer or a network volume or nginx or an SSL cert or auto scaling or...or...or...

Come on. What? Setting up a load balancer or nginx is considered complex now?

Well, set me up one. :P

Re: Why is Kubernetes getting so popular?

#214
If the question was, Why is kube getting so popular with developers, it might get a different response. I wonder how many software developers come to kubernetes through the templated/helm chart/canned approach made by there DevOps team, not that this isn't a fine approach, but I find it a different conversation to say, Serverless, where anyone can just jump in.

After spending 18 months working on bringing kubernetes(EKS) to production, with dozens of services on it, the time was right to hand over migrating old services to the software engineers who maintain them. Due to product demands, but also some lack of advocacy, this didn't happen, with the DevOps folks ultimately doing the migration and retaining all the kubernetes knowledge.

An unpopular opinion might be that Kubernetes is popular because it gives DevOps teams new tech to play with, with long lead times for delivery given its complexity. Kubernetes usually is a gateway to tracing, service meshes and CRDs, which while you don't need at all to run Kubernetes, they will probably end up in your cluster.

Re: Why is Kubernetes getting so popular?

#215
post #212
post #199

Earlier quoted context omitted.

Come on. What? Setting up a load balancer or nginx is considered complex now?

Well, set me up one. :P

my pubkeys are below, send me an ip address and port to an ssh server

https://github.com/cameronnemo.keys

Re: Why is Kubernetes getting so popular?

#216
post #210

Earlier quoted context omitted.

> I don't get why people hate it. Because it is hard to manage the configuration. It's why tools like terraform exist. Anecdote. I worked for a small company that was later acquired. It turned out one of the long time employees had set up the company's AWS account using his own Amazon account. Bad on it's own. We built out the infra in AWS. A lot of it was "click-ops". There was no configuration management. Not even…

Sounds like the exact nightmare a previous employer was living. AWS' (awful) web UI convinces the faint of heart to click through wizards for everything. If you're not using version control for _anything_ related to your infrastructure...you have my thoughts and prayers. +1 for "click-ops", perfectly put.

> you have my thoughts and prayers.

Pretty much. The lesson learned for me was to always have version control for the complete stack including the infra for the stack. I like terraform for this. Terragrunt at least solves the issue of modules for terraform reducing the verbosity. Assume things could go wrong and you will need to redeploy EVERYTHING. I've been there.

Re: Why is Kubernetes getting so popular?

#217

Earlier quoted context omitted.

> setting it up kind of feels like I'm trying to earn a PhD thesis. The kind of people who has to both set the cluster up and keep it up and also has to develop the application and deploy it and keep it up etc is not the target audience. K8s shines when the roles of managing the cluster and running workloads on it are separated. It defines a good contract between infrastructure and workload. It lets different people…

There are elements of our company that want to move to Kubernetes for no real reason other than it's Kubernetes. I can't wait to see the look on their faces when they realise we'll have to employ someone full-time to manage our stack.

I'm not sure you have to, that seems like the whole point of managed services like GKE.

Re: Why is Kubernetes getting so popular?

#218
post #199
post #177

Earlier quoted context omitted.

I think this is a good answer. I'll add that as soon as you need to do something slightly more complex, without something like k8s you aren't going to be happy with your life. With k8s, it's almost a 1 liner. For example, adding a load balancer or a network volume or nginx or an SSL cert or auto scaling or...or...or...

Come on. What? Setting up a load balancer or nginx is considered complex now?

Depends who's doing the configuring. I don't know how to do it. But nor do I know how to use k8s for that matter.

Re: Why is Kubernetes getting so popular?

#219
post #47
post #10

Earlier quoted context omitted.

Have you tried or considered Nomad (from the makers of Terraform)?

can it handle networking (including load balancing and reverse proxies with automatic TLS) or virtualized persistent storage? Make it easy to integrate common logging system? Cause those are the parts that I miss probably the most when dealing with non-k8s deployment, and I haven't had the occasion to use Nomad.

nomad is strictly a job scheduler. If you want networking you add consul to it and they integrate nicely. Logging is handled similarly to Kubernetes. Cool thing about Nomad that it's less prescriptive

Re: Why is Kubernetes getting so popular?

#220
post #199
post #177

Earlier quoted context omitted.

I think this is a good answer. I'll add that as soon as you need to do something slightly more complex, without something like k8s you aren't going to be happy with your life. With k8s, it's almost a 1 liner. For example, adding a load balancer or a network volume or nginx or an SSL cert or auto scaling or...or...or...

Come on. What? Setting up a load balancer or nginx is considered complex now?

And one hour photo is now considered slow.
Post reply on HN