Cloud Technology

How does Milvus handle disaster recovery and data persistence in Kubernetes?

JO Asked by Jordan Reed · 04-06-2025
0 upvotes 12,095 views 0 comments
The question

We are moving our Machine Learning workloads to a containerized environment. Can anyone explain how Milvus manages data persistence and snapshots within a Kubernetes cluster? We need a reliable way to ensure zero data loss during pod restarts or node failures in our production stack.

3 answers

0
RE
Answered on 02-09-2025

The separation of concerns between the coordinators and the worker nodes makes the system incredibly resilient to localized failures.

CY 22-09-2025

I agree with Rebecca; this design is why we chose it for our enterprise search platform over more monolithic vector databases.

0
CY
Answered on 12-09-2025

In a Kubernetes environment, Milvus ensures persistence by relying on external object storage like S3 or MinIO, and log brokers like Pulsar or Kafka. Since the architecture is decoupled, the actual data is stored outside the pods. If a query node or data node fails, Kubernetes simply restarts it, and the node recovers its state by reading from the log broker and object storage. For disaster recovery, you should utilize the backup tool to create snapshots of your collections. This multi-layered approach ensures that your vector data remains consistent and available even during significant infrastructure disruptions.

0
GR
Answered on 15-09-2025

Are you using the operator-based deployment method to manage these persistent volumes and external dependencies automatically?

KE 18-09-2025

The Milvus Operator is definitely the way to go. It simplifies the lifecycle management of the entire cluster, including upgrades and scaling, while ensuring that the storage classes are correctly mapped.

Share your thoughts

Your email address will not be published. Required fields are marked (*)

Professional Counselling Session

Still have questions?
Schedule a free counselling session

Our experts are ready to help you with any questions about courses, admissions, or career paths. Get personalized guidance from industry professionals.

Request a Call Back

Search Online

We Accept

We Accept

Follow Us

"PMI®", "PMBOK®", "PMP®", "CAPM®" and "PMI-ACP®" are registered marks of the Project Management Institute, Inc. | "CSM", "CST" are Registered Trade Marks of The Scrum Alliance, USA. | COBIT® is a trademark of ISACA® registered in the United States and other countries.

Book Free Session