VOOZH about

URL: https://thenewstack.io/cockroachdb-distributed-database-prepped-for-kubernetes-deployments/

⇱ CockroachDB Distributed Database Prepped for Kubernetes Deployments - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2020-11-12 03:00:48
CockroachDB Distributed Database Prepped for Kubernetes Deployments
news,
Cloud Native Ecosystem / Kubernetes

CockroachDB Distributed Database Prepped for Kubernetes Deployments

Nov 12th, 2020 3:00am by Mike Melanson
👁 Featued image for: CockroachDB Distributed Database Prepped for Kubernetes Deployments

The CockroachDB cloud native, distributed SQL database may be coming to a Kubernetes cluster near you. The recently released version 20.2 packages the database system for Kubernetes with a custom Kubernetes Operator, making it, in Cockroach Labs‘ words, “the only database architected from the ground up to deliver on the core distributed principles of Kubernetes.”

This latest version also offers features around spatial data, stronger Java and Ruby support, and general overall improved performance.

CockroachDB brings a base of cloud native origins that underly everything, having arisen from the same ideas as those behind Google’s Spanner database, which arose alongside Google’s Kubernetes’ ancestor Borg, noted Vice President of Product Marketing at Cockroach Labs Jim Walker.

“There’s very few kinds of databases that were built to be distributed. There’s kind of this impedance mismatch of distributed systems and people trying to deploy legacy databases on these kinds of orchestrated distributed environments. Legacy is just simply not built for this world,” said Walker. “Transactions become extremely complex when you have multiple nodes, they weren’t built to scale, and by the way, pods are ephemeral, so they need to be able to automatically survive things.”

Even distributed databases, explained Walker, may not be “built directly for pods and orchestrated environments such as Kubernetes” and present a high level of complexity for those looking to use it in that way. He offers this as context for the new Kubernetes Operator, which is meant to simplify deployment configuration and enable no-downtime rolling upgrades in production, explaining that the Operator instead enables extra functionality, not just the ability to install the database.

“Most databases need to build an operator because they aren’t a direct fit for Kubernetes. A traditional legacy database needs to figure out how to actually deploy with certificates. How do I manage state? How do I survive failure of a node? If I’m running mySQL and a shard dies, how do I get that back? That’s difficult to do and people will typically need to do operators to build out the core capability of resilience and scale,” said Walker. “We don’t need that, actually. We scale naturally with Kubernetes. Our operator is helping with deployment, some of the security configurations, helping with the size of a cluster, or helping with the management of it.”

The addition of geo-spatial data types and libraries to the open source version of CockroachDB, meanwhile, makes it “the first cloud native distributed database to include these capabilities,” according to a company statement, and Walker says that that, alongside the geo-distributed nature of CockroachDB itself, should offer the potential for innovation.

“Spatial data is unique. It’s not simple stuff,” he said, noting that they had re-architected and rebuilt everything in Go to make the change.

As for performance, the company says that the latest version improves its TPC-C Benchmark performance by 40% over last year, now handling up to 140k warehouses with a maximum throughput of 1.7 million transactions-per-minute (tpmC).

Among the other new features with CockroachDB 20.2, including a new storage engine called Pebble, security improvements to logging, Role-Based Access Control (RBAC), and certificate management, and support for numerous Java and Ruby tools, Walker emphasized Materialized Views as a feature of note, which offers a way to speed up particular queries. This latest version also brings some of the basic distributed Backup and Restore capabilities that had previously been reserved for the Enterprise version to CockroachDB Core, the free and open source version of CockroachDB.

Cockroach Labs is a sponsor of The New Stack.

TRENDING STORIES
Mike is a freelance writer, editor, and all-around techie wordsmith. Mike has written for publications such as ReadWriteWeb, Venturebeat, and ProgrammableWeb. His first computer was a "portable" suitcase Compaq and he remembers 1200 baud quite clearly.
Read more from Mike Melanson
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.