Skip to content
Snippets Groups Projects
  • Jesus Galaz's avatar
    6fd4b269
    fix(mongodb): Migrate MongoDB to StatefulSet for Improved Data Persistence and Stability · 6fd4b269
    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
    fix(mongodb): Migrate MongoDB to StatefulSet for Improved Data Persistence and Stability
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.