top | item 23356197

(no title)

sev | 5 years ago

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...

discuss

order

d23|5 years ago

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

unoti|5 years ago

> What? Setting up a load balancer or nginx is considered complex now?

It's not complex to set up a load balancer in a given specific environment. But it's another kind of ask to say "set up a load balancer, but also make it so that the load balancer also exists in future dev environments that can be auto-set-up and auto-teared-down. And also make it so that load balancer will work on dev laptops, AWS, Azure, google, our private integration test cluster on site, and on our locally-hosted training environment, with the same configuration script." All of these things can be done in k8s, and basically are by default when you add your load balancer in k8s. They can be done other ways, too, or just ignored and not done, also. But k8s offers a standardized way to approach these kinds of things.

frompdx|5 years ago

And one hour photo is now considered slow.

cortesoft|5 years ago

Setting up one is easy. Setting up one that gives multiple separate teams the ability to configure their services, and apply those changes to servers around the world and in different environments, repeatedly and safely, is harder.

p_l|5 years ago

There's huge difference between manually setting up load balancer - let's say HAproxy - and being able to just declare in an application that it needs "this and this configuration to route HTTP traffic to it."

The time I spent managing HAproxy for 5 services was bigger than the time I spent managing load-balancing and routing using k8s for >70 applications that together required >1000 load balanced entrypoints.

It's a lever for the sysadmin to spend less time on unnecessary work.

recursive|5 years ago

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.

th0ma5|5 years ago

Well, set me up one. :P

zerubeus|5 years ago

You can use something like dokku for most of what you cited for much less overhead, if you are not planning to use the "highly available" feature for sure

rooam-dev|5 years ago

Any competent engineer without experience is more likely to figure out how setup and/or troubleshoot nginx than kubernetes.