News for hackers. Stuff that matters.
Re:Why is Kubernetes getting so popular? by d23 on Friday May 29, 2020 @06:31PM (#23356344)
Come on. What? Setting up a load balancer or nginx is considered complex now?
Re:Why is Kubernetes getting so popular? by unoti on Friday May 29, 2020 @07:00PM (#23356592)
> 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.

Re:Why is Kubernetes getting so popular? by worldsayshi on Friday May 29, 2020 @07:12PM (#23356684)
In my mind standardisation is how we really solve problems in much of software development. Everything before that is just practice and/or hacks.
Re:Why is Kubernetes getting so popular? by Kinrany on Friday May 29, 2020 @08:28PM (#23357263)
> In my mind standardisation is how we really solve problems in much of software development.

I've been having this thought very often lately.

The only way for humans to do something faster is to use a machine. Any machine is built on some assumption that something is repeatedly true, that some things can be repeatedly interacted with in the same way.

Finding true invariants is very hard, but our world is increasingly malleable. Over time it is getting easier to invent new invariants and pad things out so that the invariant holds.

Re:Why is Kubernetes getting so popular? by akiselev on Saturday May 30, 2020 @02:49AM (#23359077)
It's true not just for machines but engineering in general. Whether it's civil or mechanical or electronic or semiconductor engineering, their foundation is built on setting boundary conditions to make the natural world predictable so that it can be reliably manipulated. Things most often go wrong when those conditions are poorly understood, constrained, or modeled such as when using an unproven material, using imprecise parts, or ignoring thermal expansion when designing structural components.

Engineers have a plethora of quality control standards and centuries of built up knowledge to make this chaos manageable and the problems tractable.

Re:Why is Kubernetes getting so popular? by baryphonic on Friday May 29, 2020 @09:07PM (#23357496)
I'm fine with standardization, as long as I set the standard. For standard 0, I propose that the only spelling for "standardization" will be with a 'z' (which is itself pronounced "zee").
Re:Why is Kubernetes getting so popular? by everybodyknows on Friday May 29, 2020 @09:51PM (#23357756)
American here too -- but don't think it's reasonable to demand American spelling from the rest of the Anglophone world.
Re:Why is Kubernetes getting so popular? by baryphonic on Saturday May 30, 2020 @11:20AM (#23361756)
I think the downvotes are missing the point. This is a key problem with standards: sometimes they standardize around something unreasonable. And tech is already riddled with all sorts of standards which are half-implemented in n different ways.

I think a better approach would be to have a specification for more robust negotiation protocols. When I see "standardisation," I already know that this means the same thing as "standardization" and furthermore that I should expect to see "colour"/"honour," organizations referred to in plural, "from today" rather than "beginning today" or "starting today," and even "jumpers" over "sweaters," "lorries" over "trucks," "biscuits" over "cookies," and more interrogative sentences in conversation. A British English speaker likely does the same process in reverse.

Re:Why is Kubernetes getting so popular? by everybodyknows on Saturday May 30, 2020 @02:05PM (#23363208)
Perhaps I should clarify that "demanding American spelling is unreasonable" was specific to the context of HN (or other open discussion forums with international readership).

Within say, the volunteer-maintained documentation of MDN, the tradeoffs are quite different. There, ease of reading for reference by busy coders is much more valuable relative to ease of typing up a new contribution. Frequent switches between "color" and "colour" become a time-wasting distraction.

MDN should pick a standard and insist on it. And if Ubuntu chooses to require British spelling throughout, I'd say that's good.

Re:Why is Kubernetes getting so popular? by CameronNemo on Friday May 29, 2020 @07:42PM (#23356941)
Some of those requirements are far-fetched. Multiple cloud environments AND on-prem?

Ansible and Vagrant are not perfect, but I think they are far simpler than a single node k8s instance, and more representative of an actual production environment.

Re:Why is Kubernetes getting so popular? by tashoecraft on Friday May 29, 2020 @08:06PM (#23357134)
I’ve seen my company go multi cloud provider just to appeal to a single client. Now we’ll need multi cloud, multi continent setup to handle European clients. And I’m sure in another 2 years we’ll need our whole stack in China to support another clients requirements.

This is not my strength in any way, but hearing from those teams, Kubernetes will be a godsend

Re:Why is Kubernetes getting so popular? by frompdx on Friday May 29, 2020 @06:42PM (#23356468)
And one hour photo is now considered slow.
Re:Why is Kubernetes getting so popular? by tomcam on Friday May 29, 2020 @09:02PM (#23357465)
Uh, I have some news for you...
Re:Why is Kubernetes getting so popular? by cortesoft on Friday May 29, 2020 @08:57PM (#23357441)
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.
Re:Why is Kubernetes getting so popular? by nwatson on Saturday May 30, 2020 @02:33AM (#23359016)
We just spent months at my workplace working on a system to reliably define and configure a set of parallel silo'ed integrated datastores, services, and network stack within Kubernetes/ISTIO (and AWS), and to reliably upgrade new software revisions within those silos and to account for the changing "shape" of the configuration/content in these silos. It's repeatable and safe now, but it took a lot of effort.
Re:Why is Kubernetes getting so popular? by aspenmayer on Saturday May 30, 2020 @03:04AM (#23359140)
Is any of your new stack open sourced?
Re:Why is Kubernetes getting so popular? by nwatson on Saturday May 30, 2020 @08:10PM (#23366015)
Not yet ... perhaps some day.
Re:Why is Kubernetes getting so popular? by p_l on Saturday May 30, 2020 @01:01PM (#23362596)
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.

Re:Why is Kubernetes getting so popular? by recursive on Friday May 29, 2020 @06:42PM (#23356456)
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? by th0ma5 on Friday May 29, 2020 @06:37PM (#23356405)
Well, set me up one. :P
Re:Why is Kubernetes getting so popular? by CameronNemo on Friday May 29, 2020 @06:39PM (#23356436)
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? by jacobsenscott on Friday May 29, 2020 @07:20PM (#23356740)
Anyone can ssh into a server and apt-get haproxy and tweak the configuration and get it "working" where the definition of working is accepting and routing traffic. But that's just a hobby setup. When people say setting up a load balancer is complex they are talking about professional setups, not a one off software install on a single server.
Re:Why is Kubernetes getting so popular? by CameronNemo on Friday May 29, 2020 @07:39PM (#23356913)
So give me a (possibly private) ASN, a couple bgp peers, and the frrouting suite. ACME is not difficult either.
Re:Why is Kubernetes getting so popular? by jacobsenscott on Friday May 29, 2020 @08:17PM (#23357183)
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.
Re:Why is Kubernetes getting so popular? by CameronNemo on Friday May 29, 2020 @10:31PM (#23357943)
k8s did not invent gitops.
Re:Why is Kubernetes getting so popular? by FridgeSeal on Saturday May 30, 2020 @06:37PM (#23365440)
No but it sure as hell made it a lot easier and straightforward.
Re:Why is Kubernetes getting so popular? by cortesoft on Friday May 29, 2020 @08:59PM (#23357450)
Now set it up in 30 data centers around the world, with the ability for dozens of different teams to add and change their applications, and across multiple staging and QA environments.
Re:Why is Kubernetes getting so popular? by lonelappde on Friday May 29, 2020 @09:25PM (#23357603)
Why do I need 30?

1 rack in a datacenter is plenty for a database backed web app with a million users.

Re:Why is Kubernetes getting so popular? by cortesoft on Friday May 29, 2020 @10:35PM (#23357970)
That is going to be killer latency for people in other parts of the world.

In my case, I work for a CDN, so we need to have data centers all around the world.

Re:Why is Kubernetes getting so popular? by th0ma5 on Friday May 29, 2020 @06:43PM (#23356478)
My what and what? :P I do get your point, it is "easy" for some definition of such, but to be fair, k8s would automatically put the ip and port in for my part of it all at least.
Re:Why is Kubernetes getting so popular? by flixic on Saturday May 30, 2020 @12:41PM (#23362397)
I never knew about this github feature. Nice!