Thanks for great posts. I was reading your post on mongo db replication —
Running MongoDB on Kubernetes with StatefulSets
Editor's note: Today's post is by Sandeep Dinesh, Developer Advocate, Google Cloud Platform, showing how to run a…
Believe me its great and helpful. I have followed your blog and was able to create a healthy cluster. I was able to scale up and down easily. The only issue which I am facing if I kill any POD intentionally, statefulset will try to restart another one. The new POD is not able to join the cluster of mongodb.
Error I can see. Please help. Thanks.
“_id” : 4,
“name” : “mongo-0.mongo:27017”,
“health” : 0,
“state” : 8,
“stateStr” : “(not reachable/healthy)”,
“uptime” : 0,