VOOZH about

URL: https://thenewstack.io/databases-on-kubernetes-why-when-and-what-to-consider/

⇱ Databases on Kubernetes: Why, When and What To Consider - 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
2024-10-01 06:16:21
Databases on Kubernetes: Why, When and What To Consider
sponsor-portworx,sponsored-post-contributed,
Databases / Kubernetes

Databases on Kubernetes: Why, When and What To Consider

Running databases on Kubernetes is increasingly common, but it has to make sense for your organization. Learn the key factors to consider.
Oct 1st, 2024 6:16am by Kathryn Hsu
👁 Featued image for: Databases on Kubernetes: Why, When and What To Consider
Featured image by Philip Oroni for Unsplash+.
Portworx by Pure Storage sponsored this post.

Databases are an increasingly popular workload for Kubernetes; in a recent Portworx-commissioned survey of organizations using Kubernetes, over 72% of respondents noted that their teams were running databases on Kubernetes.

Clearly, the discussion surrounding data on Kubernetes (DoK) has matured since persistent volumes in Kubernetes entered general availability in 2019. Teams with more advanced Kubernetes practices are moving beyond the simpler debate of stateless versus stateful applications and the need for persistent storage. Instead, they’re considering how a container data management layer — inclusive of databases — fits with the broader set of business goals, as well as the infrastructure, development and delivery solutions in their internal platforms.

Why Organizations Run Databases in Kubernetes

For software, infrastructure and platform engineering leaders, deciding to run databases in containers and manage them with Kubernetes often comes down to some mix of the following factors:

Development Velocity

If data is the payload for differentiated value to the end user, then applications are the delivery vehicle. For example, a social news feed provides similar functionality to everyone, but it relies on underlying data to ensure relevance to the reader.

Kubernetes’ declarative nature allows database teams to define consistent deployment guidelines and standardize across development, staging and production environments. This removes database provisioning as a bottleneck, leading to delivering more value, faster, to the end user.

Lower Costs, Less Complexity

Amid economic challenges, database teams are being asked to do more with less. They must manage more database instances, at greater scale, from more database providers and vendors, integrated with an increasingly complex set of infrastructure services.

Kubernetes offers a way to reduce complexity, as its standardized approach to database deployments across environments simplifies maintenance. While managed cloud databases offer shortcuts to deployment, in practice they often introduce more complexity through managing auxiliary cloud services, with the added drawback of cloud lock-in that drives up costs and hampers data mobility.

Reduced Risk, Greater Uptime, Resilience at Scale

Kubernetes is purpose-built to run elastic, scalable, highly resilient applications. Why not allow databases to benefit from running on Kubernetes, as well as the collective knowledge of a massive, global cloud native community building to these principles?

When To Run Databases on Kubernetes

If your applications demand scalable, automated data management with minimal friction, and you need to maintain consistency across development, testing and production environments, running databases on Kubernetes is an excellent choice.

Kubernetes’ advantages include life cycle management, self-service capabilities and enhanced data portability, especially for modern, cloud native applications where schema and data sizes can change rapidly.

What Are the Benefits of Data on Kubernetes?

Running databases on Kubernetes enables:

  • Automated operations and life cycle management at scale, especially given that operators are available for nearly every database solution on the market.
  • Consistency across dev, test and production environments. It’s the original promise of Docker containers, but for databases. Developers can deploy databases locally on minikube with greater confidence their applications will work elsewhere as configured.
  • Easier data portability for near-line or local processing, resulting in faster performance, less data drift and a greater overall ability to withstand the churn and elasticity of cloud native applications.
  • Self-service capabilities for end users including developers, data scientists and machine learning operations (MLOps) engineers. Database teams can provide guidelines and policies, while end users can make informed decisions about schema, location and consumption. And if databases are properly integrated with a broader development platform, neither database administrators (DBAs) nor developers bear the burden of managing Kubernetes itself.

Other databases — like terabyte-scale relational database management system (RDBMS) deployments with decades of historical transactional data or massive unstructured data lakes — have inertia, and are unlikely candidates for containerization. They’re big, they’re hard to move and they serve a different purpose than modern databases supporting modern application development.

What To Consider When Introducing Databases on Kubernetes

Let’s say your organization has decided against managed cloud databases or running databases on virtual machines (VMs), and believes that the benefits of faster development velocity, lower costs and risk reduction are worth the leap towards databases on Kubernetes. What else should you and your team consider as you make this change?

As a leader, you’ll likely focus on your team’s priorities, skills and time and invest in technical solutions accordingly. Database teams are generally experts in databases, not in Kubernetes. And while many developers are familiar with containers and Kubernetes, it’s unusual for their primary job to include managing Kubernetes deployments.

Consider whether DBAs or developers will handle provisioning and managing databases on Kubernetes, or if this requires a broader, automated as-a-service approach enabled by an internal developer or database platform. If it’s the latter, you’ll need to decide the level of Kubernetes abstraction your internal platform should offer to support other teams. Additionally, you’ll need to define how containerized databases will be configured with respect to persistent volumes, storage arrays, and backup or data protection policies.

Embrace Data on Kubernetes

For organizations that have just started their Kubernetes journey, running data-intensive workloads on Kubernetes can seem daunting. (And if this is where your organization is today, you’re far from alone!) But it can be done; businesses like Rivian are running databases on Kubernetes in production and provisioning them within hours instead of days, all while increasing uptime, resilience and controlling costs.

To learn more about how to unlock the value of data on Kubernetes at scale, visit Portworx.com or set up a conversation.

Portworx is the leading provider of persistent storage for containers and is used in production by healthcare, global manufacturing, and telecom members of the Fortune Global 500 and other great companies. Learn about Portworx solutions for Kubernetes storage, DCOS storage & more at portworx.com.
Learn More
The latest from Portworx by Pure Storage
TRENDING STORIES
Kathryn Hsu is a Director of Product Marketing for Portworx by Pure Storage. She has a decade of go-to-market experience for cloud-native infrastructure and developer tooling, and loves seeing good technology solve hard problems.
Read more from Kathryn Hsu
Portworx by Pure Storage sponsored this post.
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Docker, Velocity.
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.