Live data from Hacker News

Why is Kubernetes getting so popular?

stackoverflow.blog

321–330 of 681 posts

Re: Why is Kubernetes getting so popular?

#321

Earlier quoted context omitted.

Hmm really? My experience is that, with k8s I end up learning all the complexities of k8s in addition to AWS. Besides, personally I find AWS console much easier to understand. I don't get why people hate it.

AWS console is very carefully designed to let you create traps that result in spending huge buckets of money if you're not paying attention.

EC2 instances are fairly predictable.

Re: Why is Kubernetes getting so popular?

#322
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…

Wouldn't be prudent...

Re: Why is Kubernetes getting so popular?

#323
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…

> 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 Let's be real, if you are old enough to get that reference without Googling, you probably would not have lasted that long at a hip fintech company anyways :-P

George Sr's term wasn't that long ago.

... was it?

Re: Why is Kubernetes getting so popular?

#324
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…

> 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 Let's be real, if you are old enough to get that reference without Googling, you probably would not have lasted that long at a hip fintech company anyways :-P

Best memorialized in Dana Carvey's George H. W. Bush impression.

Re: Why is Kubernetes getting so popular?

#325
post #312
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…

Kubernetes makes it easier to run your application if it’s already way too complex for it’s own good.

Nah, we already had orchestration systems (a'la chef, ansible, cfengine, and VM images to manage most of that complexity. Worst case scenario, there were always works-100%-of-the-time-80%-of-the-time shell scripts.

Re: Why is Kubernetes getting so popular?

#326

Earlier quoted context omitted.

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…

Off the top of my head, deployments and sidecars are both missing, which are incredibly useful.

Admiral gives you both with vanilla compose now.

Yeah, another tool, I know.

Re: Why is Kubernetes getting so popular?

#327
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…

> is that the unbelievable bloat in the complexity of our systems is going to bite us in the ass. My favorite example of this right now is Vitess. Sure, it's a beautiful piece of technology. But, for a usecase my company is looking at, we'll be replacing one (exceptionally large) DB with in excess of 80 mysql pods, managed by another opaque-through-complexity system running on the top of kubernetes (which already bit…

good thing kubernetes can restart pods fast and have persistent volumes!

Re: Why is Kubernetes getting so popular?

#328
post #311

Earlier quoted context omitted.

Of course everyone's experience is different, but in my case... > How do you view all the VMs in a project across the globe at the same time? I'm not sure what it's got to do with k8s? I can't see jobs that belong to different k8s clusters at the same time, either. > Do you need to manage keys when ssh'n into a VM? Well, in k8s everybody who has access to the cluster can "ssh" into each pod as root and do whatever th…

If you're running pods as root, you're doing it wrong. That was a no-no with docker, and it's still a no-no for kubernetes. People still run non-containerized services as root too...

This is getting off-topic, but I didn't understand the rationale behind that. Processes running inside docker/k8s are already isolated, so unless you're running something potentially malicious, why would it matter if it's root or not?

(Of course, if you're running untrusted user code, then you'll need every protection you can muster, but I'm talking about running an internally developed application. If you can't trust that, you already have a bigger problem.)

Re: Why is Kubernetes getting so popular?

#329

Earlier quoted context omitted.

How does K8s know what order to do things in if there aren't steps? Because on a system, certain things obviously need to happen before other things.

You can save your Kubernetes manifests in any order. Stuff that depends on other stuff just won't come up until the other stuff exists. For example, I can declare a Pod that mounts a Secret. If the Secret does not exist, the Pod won't start -- but once I create the Secret the pod will start without requiring further manual intervention. What Kubernetes really is, under the hood, is a bunch of controllers that are con…

That is Puppet, too. But Puppet was easy. K8s isn’t.

Re: Why is Kubernetes getting so popular?

#330

Earlier quoted context omitted.

> is that the unbelievable bloat in the complexity of our systems is going to bite us in the ass. My favorite example of this right now is Vitess. Sure, it's a beautiful piece of technology. But, for a usecase my company is looking at, we'll be replacing one (exceptionally large) DB with in excess of 80 mysql pods, managed by another opaque-through-complexity system running on the top of kubernetes (which already bit…

good thing kubernetes can restart pods fast and have persistent volumes!

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.

Post reply on HN