Skip to content
Snippets Groups Projects
user avatar
Jesus Galaz authored
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.
6fd4b269
History
Name Last commit Last update