https://github.com/abhirockzz/documentdb-local-ha-tutorial
DocumentDB Kubernetes Operator: How to use HA for automatic failover of a DocumentDB cluster
https://github.com/abhirockzz/documentdb-local-ha-tutorial
documentdb kubernetes postgresql
Last synced: 14 days ago
JSON representation
DocumentDB Kubernetes Operator: How to use HA for automatic failover of a DocumentDB cluster
- Host: GitHub
- URL: https://github.com/abhirockzz/documentdb-local-ha-tutorial
- Owner: abhirockzz
- Created: 2025-12-13T05:38:08.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2026-03-03T09:00:31.000Z (4 months ago)
- Last Synced: 2026-03-03T13:55:25.974Z (4 months ago)
- Topics: documentdb, kubernetes, postgresql
- Language: Python
- Homepage:
- Size: 690 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deploy a Highly Available DocumentDB cluster on Kubernetes
This repository contains resources to demonstrate automatic failover in a [DocumentDB](https://github.com/documentdb/documentdb) cluster using the [DocumentDB Kubernetes Operator](https://github.com/documentdb/documentdb-kubernetes-operator).

Database high availability is critical for production workloads. When the primary database instance fails, your application needs automatic recovery without manual intervention. This tutorial demonstrates how DocumentDB's local HA feature handles primary failures with minimal downtime and no/minimal client reconfiguration.
📖 **For complete setup instructions, architecture details, and step-by-step guidance, read the full blog post:**
https://dev.to/abhirockzz/documentdb-on-kubernetes-resilient-highly-available-databases-with-automatic-failover-ak7
☝️ The blog post covers the architecture overview and how failover works, includes a detailed walkthrough with expected outputs, and explains automatic recovery.
## Learn More
📚 [DocumentDB Kubernetes Operator Documentation](https://documentdb.github.io/documentdb-kubernetes-operator/)
💬 [Join the Community on Discord](https://discord.gg/e7vkvuCA)
🐛 [Report Issues on GitHub](https://github.com/documentdb/documentdb-kubernetes-operator/issues)
### Advanced Scenarios
- [Multi-region deployments](https://github.com/documentdb/documentdb-kubernetes-operator/tree/main/documentdb-playground/aks-fleet-deployment)
- [Multi-cloud configurations](https://github.com/documentdb/documentdb-kubernetes-operator/tree/main/documentdb-playground/multi-cloud-deployment)