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.
[ Parent
| on HN ]
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/...