Skip to content
Snippets Groups Projects
Commit 6fd4b269 authored by Jesus Galaz's avatar Jesus Galaz
Browse files

fix(mongodb): Migrate MongoDB to StatefulSet for Improved Data Persistence and Stability

This MR updates the MongoDB deployment to use a StatefulSet instead of a Deployment. Key changes include:
	1.	Replaced Deployment with StatefulSet for better handling of stateful workloads.
	2.	Added volumeClaimTemplates for dynamic PVC provisioning, ensuring dedicated storage per pod.
	3.	Updated the MongoDB service to a Headless Service to provide stable DNS for the StatefulSet pods.

These changes ensure stable pod identities, reliable data persistence, and improved scalability for MongoDB.
parent 8a82de38
Loading
Pipeline #17526 passed