Give data a stable identity
MongoDB uses a StatefulSet and persistent volume. Pod identity and storage lifecycle remain manageable.
Separate configuration and secrets
ConfigMaps and Secrets keep configuration out of the image. Namespaces clarify responsibilities.
Make health operational
Liveness and readiness probes distinguish a running process from a service that is actually ready for traffic.