Hi
Please clarify
If I have MongoDB, and I would like to containerize it using docker and using Kubenetes wants to run it as say 3 replicas. I have given a volume for data outside the container.
Will now, all the 3 replicas (of MongoDB) point to the same volume and hence operate on the same data?
Who maintains the consistency in this case. Is it Kubernetes (or) MongoDB?
Thank you.
So all the instances of MongoDB containers (say I have given replicas as 3), will write to the same volume & Kubernetes will maintain the consistency between the READS and WRITES?