Live data from Hacker News

Why is Kubernetes getting so popular?

stackoverflow.blog

561–570 of 681 posts

Re: Why is Kubernetes getting so popular?

#561

Earlier quoted context omitted.

For load balancing you can just run one of the common LB solutions (nginx, haproxy, Traefik) and pick up the services from the Consul service catalog. Traefik makes it quite nice since it integrates with LetsEncrypt and you can setup the routing with tags in your Nomad jobs: https://learn.hashicorp.com/nomad/load-balancing/traefik What Nomad doesn’t do is setup a cloud provider load balancer for you. For persistent s…

Does the Nomad WebUI support any kind of auth or just the Nomad-Bearer thing? Thinking about completing my Hashicorp Bingo card.

It is on the roadmap to support JWT/OIDC!

Re: Why is Kubernetes getting so popular?

#562
post #529

Earlier quoted context omitted.

Kubernetes is for orchestrating a distributed system. What I was suggesting is to (1) make a monolith and (2) make it fast, light and high-throughput. The goal of your service is to reliably serve users at scale; this is just another way of doing it, just much more esoteric. A "C++ monolith" allows me to potentially bypass a lot of this deployment stuff because it could serve lots (millions) of users from a single bo…

>Kubernetes is for orchestrating a distributed system. No it's not. You can use it to run bunch of monoliths too. K8s provides a common API layer that all of your organisation can adhere to. Just like containers are a generic encapsulation of any runable code.

Sure, but you could just use plain Docker for the monolith. Containerization isn't the issue. If you're not orchestrating and connecting an array of services, what's the value add of K8s?

Re: Why is Kubernetes getting so popular?

#563
post #387

There's a silent majority of people that don't use k8s (or containers) - hell there is a significant portion of servers that don't even use linux. I find the majority of engineers my age (mid 30s) think it is nothing more than straight marketing - between said marketing fueled vc dollars and "every company is a software company" there's a very good reason why k8s has taken off but I'd ask the following: Why should it…

You don't necessarily HAVE to use K8s to get advantage of it. Use something like Knative and you're good to go. Google has Cloud run and Azure would soon come up with some similar abstraction on top of kubernetes.

Re: Why is Kubernetes getting so popular?

#564

I'm using Kubernetes extensively in my day to day work and once you get it up and running and learn the different abstraction, it becomes a single API to manage your containers, storage and network ingress needs. Making it easy to take a container and getting it up and running in the cloud with an IP address and a DNS configured in a couple API calls (or defined as YAMLs). That being said, I will also be the first on…

One could argue if you have a tiny set of services you are better off using a managed offering like AWS Lambda or Cloud Run

Re: Why is Kubernetes getting so popular?

#565
post #434

I think kubernetes is to Infra what RoR was to Web. Not necessarily in terms of architectural style of MVC, but more towards standardization of similar enough problems that can be put into a mutually agreed convention.

https://www.youtube.com/watch?v=ZqQTEdHVaCw

Re: Why is Kubernetes getting so popular?

#568

Earlier quoted context omitted.

> great affinity [...] for anything that is (relatively) complex. That, and mixture of a sunken cost fallacy/lack of the ability to step back and review if the chosen solution is really better/simpler rather than a hell of accidental complexity. If you've spend countless months to grok k8s and sell it to your customer/boss, it just has to be good, doesn't it? Plus, there's a great desire to go for an utopian future c…

> Plus, there's a great desire to go for an utopian future cleaning up all that's wrong with current tech. This [...] is the case with Rust [...]. Starting over is easier and more fun than fixing your shit. The domain I'm working in might be non-representative, but for me fixing my shit systematically means switching from C++ to Rust. The problems the borrow checker addresses come up all time either in the form of se…

Have you tried modern C++ before switching to rust? Or were you already using it and it didn't provide all the necessary features?

Re: Why is Kubernetes getting so popular?

#569
As a follow up question. I’ve been running on Azure Service Fabric for a little over three years now and been quite happy with it so far.

But it doesn’t seem like it generates quite the same buzz as kunernetes. Not even within the azure/win/.net part of the world.

So have anyone here worked with both and could share some experience?

Re: Why is Kubernetes getting so popular?

#570

Earlier quoted context omitted.

Exactly. That's a great way to put it. A bunch of Bash glue reimplementing what Kubernetes already does. Poorly.

Kubernetes is outstanding because proving ol bash scripts were bad and re-writing all Bash glue in Go glue, slapping 150 APIs on top (60 "new" and about hundred "old versions" https://kubernetes.io/docs/reference/generated/kubernetes-ap... ), adding few dozen opensource must have projects - so finally it can be called "cloud native" - boom, a new cloud native bash for the cloud is born!

Actually it's worse than that - k8s was ported from Java, and the codebase is an incoherent mess, as k8s devs say themselves
Post reply on HN