How insert,update,delete for a record go to same container among multiple in kuberenetes?

5/23/2019

My question is How Insert,Update,Delete query will go to same container when multiple container of mongod running in Kubernetes Cluster ? Any Help would be appreciated !!

-- user2523933
kubernetes
mongodb

1 Answer

5/23/2019

Deploying Statefull apps in K8s is really challenging when you have multiple replicas. Because as you said, all the replicas should aware of CRUD operations

For this, you have to deploy MongoDB as cluster and define StatefulSets. Below are the links starting point to explore more.

-- Veerendra Kakumanu
Source: StackOverflow