Exadra37

Exadra37

A Case for Databases on Kubernetes from a Former Skeptic - The New Stack

Kubernetes is everywhere. Transactional apps, video streaming services and machine learning workloads are finding a home on this ever-growing platform. But what about databases? If you had asked me this question five years ago, the answer would have been a resounding “No!” — based on my experience in development and operations. In the following years, as more resources emerged for stateful applications, my answer would have changed to “Maybe,” but always with a qualifier: “It’s fine for development or test environments…” or “If the rest of your tooling is Kubernetes-based, and you have extensive experience…”

But how about today? Should you run a database on Kubernetes? With complex operations and the requirements of persistent, consistent data, let’s retrace the stages in the journey to my current answer: “In a cloud native environment? Yes!

Most Liked

dimitarvp

dimitarvp

“Kubernetes is everywhere” is a very bad way of starting an article because it’s not a factual statement.

Started reading but the “former skeptic” thing is not visible to me. I’m seeing masked fanboyism only, so far at least.

Exadra37

Exadra37

I understand that it may be not the best way of starting the article, but if you are developer inside the cloud native bubble it will make all the sense when reading it.

Maybe if it had been complemented with something in the likes of In a cloud native world Kubernetes is everywhere then readers that are not deep inside the cloud native bubble would not feel it as an overstatement.

He explains why he is a former skeptic, you just need to read the article. He does it in the introduction and later here:

My hopes of running a database on Kubernetes came roaring back. Could Cassandra deal with the ephemeral nature of containers? At the time, it felt like a begrudging “I guess?“. It seemed possible, but there were significant gaps in the tooling. To take this to production, I’d need a team of Kubernetes and Cassandra veterans, plus a suite of tooling and runbooks to fill in the operational gaps.

The author is on the K8ssandra project, its a MVP for the Cassandra community and works at DataStax, therefore I understand that he is so enthusiastic about what he is talking about, after all he is a Developer Advocate for Cassandra.

I learned something from the article, but I am a fan of Docker and Kubernetes and I considered to be a DevOps before I came into API security, therefore I have a little of the cloud native bubble inside me :slight_smile:

OvermindDL1

OvermindDL1

I’ve still yet to ever touch kubernates other than articles saying how horrible it was to build a fake type system in it to work around Golang’s limitations. I’m still not entirely sure what it does, something like docker swarm but more, or… Lol, I just need to look in to it someday.

Popular General Dev topics Top

axelson
Can anyone recommend a tmux session switcher? I’ve used https://github.com/siadat/session-finder in the past but it’s not very actively m...
New
AstonJ
If so, what was the last blog post you wrote… and if not, why not?
New
AstonJ
Always interested in seeing what apps people use and how they organise their phones/home screens! Here’s mine…
New
AstonJ
It’s great to see how popular some of these channels have become - do you have any favourite YouTuber devs? Ben Awad Code...
New
AstonJ
Do you think it’s worth worrying about? Do you think it’s going to be an even bigger issue in future? If so what can the teams of smaller...
New
Exadra37
TLDR Hacking 30 Mobile Apps and their APIs with consent of some of the major providers in the area. 100% success rate in hacking the AP...
New
DevotionGeo
The Odin programming language is designed with the intent of creating an alternative to C with the following goals: simplicity high per...
New
TwistingTwists
Hello Fellow developers, I have been trying to wrap my head around How difficult would it have been to be a dev 20-30 years ago? I have...
New
AstonJ
Do we have any digital nomads here? Anyone fancy it? If so, which countries would you consider? I’ve been toying with the idea for a wh...
New
harwind
I’m working on a Spring Boot project and I have a controller where I want to map multiple request paths to a single method. Let’s say I h...
New

Other popular topics Top

wolf4earth
@AstonJ prompted me to open this topic after I mentioned in the lockdown thread how I started to do a lot more for my fitness. https://f...
New
DevotionGeo
I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New
PragmaticBookshelf
A PragProg Hero’s Journey with Brian P. Hogan @bphogan Have you ever worried that your only legacy will be in the form of legacy...
New
DevotionGeo
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
AstonJ
We have a thread about the keyboards we have, but what about nice keyboards we come across that we want? If you have seen any that look n...
New
AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
New
AstonJ
Seems like a lot of people caught it - just wondered whether any of you did? As far as I know I didn’t, but it wouldn’t surprise me if I...
New
New
Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
PragmaticBookshelf
A Ruby-Centric Chat with Noel Rappin @noelrappin Once you start noodling around with Ruby you quickly figure out, as Noel Rappi...
New