News for hackers. Stuff that matters.
Re:Borg: The Next Generation [pdf] by twblalock on Thursday April 30, 2020 @02:15PM (#23034108)
Kubernetes is very different from Borg.
Re:Borg: The Next Generation [pdf] by tra3 on Thursday April 30, 2020 @02:22PM (#23034194)
Can you share how? I’ve heard of borg previously as a inspiration for open source k8s but I’m surprised to hear that it’s very different.
Re:Borg: The Next Generation [pdf] by GauntletWizard on Thursday April 30, 2020 @03:48PM (#23035274)
As a former Google SRE: Kubernetes is very different for Borg, but it's also not. Most of the core concepts apply (A Borg "Alloc" is a Kubernetes "Pod", a "Task" in an alloc is a "Container" inside a pod, they're often implemented very differently but the abstraction can be reasoned about in much the same ways.

However, the developer experience is hugely different, both in the things that Kubernetes does have (Configuration Canaries) and the things it doesn't have (Global Load Balancing). There's patterns and hacks around most of these, but they're often created by developers who didn't understand the tradeoffs.

Most importantly: Borg is very well sanded. Borg was a production-ready system ten years ago, and while it's had to grow and change, there's many things that "work together" just nicely in the Google Ecosystem, that just don't yet outside. Partially because they support many more alternative implementations that don't quite have a standard API, but mostly because there's just rough spots about how you deal with marginal/edge cases that aren't found and documentation written on how to avoid them.

Re:Borg: The Next Generation [pdf] by justicezyx on Thursday April 30, 2020 @05:00PM (#23036061)
It's still an inspiration.

K8s was meant to fix borg's broken application management semantics and toolings.