Replace MongoDB Deployment with StatefulSet
Switch the MongoDB setup from a Deployment to a StatefulSet to ensure stable pod identities, better scaling, and dynamic volume claims. Update related configurations, including PVC and Service, to align with StatefulSet requirements. Delete existing resources (Deployment, PVC, Service) before applying the changes.