---
title: "Discussion on \"Running a Database as a Kubernetes Deployment? Watch Out for This Rolling-Update Trap\" | Hashnode"
description: "Discussion on \"Running a Database as a Kubernetes Deployment? Watch Out for This Rolling-Update Trap\". How ReadWriteOnce volumes can stall a database rollout, what StatefulSets actually fix, and what they don't."
url: "https://hashnode.com/posts/running-a-database-as-a-kubernetes-deployment-watch-out-for-this-rolling-update-trap/6ad9be84cbf3290f34172b55"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Running a Database as a Kubernetes Deployment? Watch Out for This Rolling-Update Trap](https://devseccloud.hashnode.dev/running-a-database-as-a-kubernetes-deployment-watch-out-for-this-rolling-update-trap?utm_source=hashnode&utm_medium=feed)

How ReadWriteOnce volumes can stall a database rollout, what StatefulSets actually fix, and what they don't.

Oct 22 · 6 min read · devseccloud.hashnode.dev  
Updated Oct 24  
Read the article

-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#mongodb](https://hashnode.com/tag/mongodb)
-   [#statefulsets](https://hashnode.com/tag/statefulsets)
-   [#devops](https://hashnode.com/tag/devops)
-   [#devsecops](https://hashnode.com/tag/devsecops)

## Written by

[Sulakshana Karunarathne](https://hashnode.com/@sulaa29)

@sulaa29 · Colombo

  
[View profile](https://hashnode.com/@sulaa29)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
