News for hackers. Stuff that matters.
Re:Stateful Apps on Kubernetes: A quick primer by bajsejohannes on Tuesday May 01, 2018 @07:08PM (#16972583)
You are correct.

> [kubernetes is] a simplified clone of Google’s internal borg system

https://medium.com/@steve.yegge/honestly-i-cant-stand-k8s-48...

Re:Stateful Apps on Kubernetes: A quick primer by outside1234 on Tuesday May 01, 2018 @07:24PM (#16972682)
That said, Google, to my understanding, does run a completely containerized infrastructure internally, including databases and other stateful things, so it is not wildly off to suggest running a database on Kubernetes.
Re:Stateful Apps on Kubernetes: A quick primer by puzzle on Tuesday May 01, 2018 @10:47PM (#16973668)
Before it ran on F1/Spanner, Adwords ran on sharded MySQL on Borg. Not for its entire early life, but for quite a few years. Later in life, Checkout and maybe Wallet ran on MySQL on Borg, too. So did YouTube, which used Vitess, a sharding layer (now ported to Kubernetes and open sourced).

Bigtable, Spanner and even Colossus/D run in containers on Borg.

Re:Stateful Apps on Kubernetes: A quick primer by tayo42 on Tuesday May 01, 2018 @11:59PM (#16973950)
How is colossus running in a container in borg? That's their network file system that makes running databases in containers possible?
Re:Stateful Apps on Kubernetes: A quick primer by puzzle on Wednesday May 02, 2018 @12:08AM (#16973984)
There's a bootstrapping issue, of course, but that's how it works.

And it's even crazier than what you're picturing. What if I told you that Bigtable runs on top of Colossus, but Colossus itself stores metadata about files, including Bigtable's files, in... Bigtable? It's really turtles all the way down, the last of which is, luckily, Chubby.

Some of the details here: http://www.pdsw.org/pdsw-discs17/slides/PDSW-DISCS-Google-Ke...

Re:Stateful Apps on Kubernetes: A quick primer by kyrra on Tuesday May 01, 2018 @10:23PM (#16973581)
Packaging was (is?) a bit different, because it existed before Docker existed.

Pdf of the presentation: https://www.usenix.org/sites/default/files/conference/protec...

And a recording of the talk: https://www.usenix.org/conference/lisa14/conference-program/...

Re:Stateful Apps on Kubernetes: A quick primer by puzzle on Tuesday May 01, 2018 @10:51PM (#16973679)
Googlers, including the ones working on Kubernetes, like to pick on MPM, but that's probably because they haven't run major services deployed from Docker images.
Re:Stateful Apps on Kubernetes: A quick primer by puzzle on Tuesday May 01, 2018 @10:58PM (#16973703)
Kubernetes might be simpler than Borg in so many ways (let me count the ones I care about...), but it also has better features that Borg did not implement (labels and selectors) or that are offered only by some other internal services, which obviously are configured through very different mechanisms (ingress).
Re:Stateful Apps on Kubernetes: A quick primer by daxfohl on Tuesday May 01, 2018 @08:31PM (#16973097)
Wow, I'd never heard of Fargate until this. It seems so somewhat obvious now for things that Lambda doesn't fit. Heroku for containers, not VMs.
Re:Stateful Apps on Kubernetes: A quick primer by manigandham on Wednesday May 02, 2018 @12:52AM (#16974148)
There's also Azure Container Instances: https://azure.microsoft.com/en-us/services/container-instanc...

And Google has AppEngine, now with Flexible Environment that can run containers: https://cloud.google.com/appengine/docs/flexible/dotnet/quic...