Running Databases and Stateful Systems on Kubernetes
Operating stateful workloads on Kubernetes: the operator pattern and its failure modes, CSI and the volume lifecycle, failover and leader election, consistent backups and point in time recovery, volume expansion and cross cluster migration, and the day to day of running a database somebody depends on. Lifetime updates included.
What you'll learn
Curriculum
9 modules · 40 lessonsWhat Makes Stateful Different
Pod identity bound to a volume in a zone, what a StatefulSet actually promises, and the failure modes that have no stateless equivalent.
The Operator Pattern for Stateful Software
What an operator adds beyond a StatefulSet, how to evaluate one before adopting it, and the fact that it is a failure domain you chose.
CSI and the Volume Lifecycle
The plugin split, the lifecycle from provision to mount, topology binding, and what access modes actually mean.
Running a Database
Sizing, failover, connections, replicas, schema changes and version upgrades, on a workload that cannot simply be restarted.
Backup, Restore, and Recovery
Why a volume snapshot is not a database backup, consistent backups, point in time recovery, and rehearsing the restore.
Data Lifecycle Operations
Expansion, migration between classes and clusters, snapshots as tools, and decommissioning with evidence.
Multi-Tenancy and Isolation
Shared storage contention, per-tenant against shared databases, resource isolation, and credentials that rotate.
Operating It Day to Day
The signals that matter, capacity you can see coming, the slow degradations, and a runbook someone can follow at three in the morning.
Capstone
A full stateful platform designed end to end, with the tradeoff stated for every decision.
About the Author

Sharon Sahadevan
AI Infrastructure Engineer
Building production GPU clusters on Kubernetes. H100s, large-scale model serving, and end-to-end ML infrastructure across Azure and AWS.
10+ years designing cloud-native platforms with deep expertise in Kubernetes orchestration, GitOps (Argo CD), Terraform, and MLOps pipelines for LLM deployment.
Author of KubeNatives, a weekly newsletter read by 3,000+ DevOps and ML engineers for production insights on K8s internals, GPU scheduling, and model-serving patterns.