Mongodb on Kubernetes failing due to network issues

I’m running and MongoDB replica set on a kubernetes cluster (3 nodes) and on a regular basis of about 1 a day I get errors that indicating that networking between the 3 nodes has failed which results in errors such as Ending connection to host due to bad connection status and none of the nodes can see each other resulting in the replica set failing.

I’ve made sure that there is no issues with the pods running mongo i.e they are not restarting due to errors or lack of resources so I’m bit lost as not sure there anything I can do to fix networking issues between nodes.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This comment has been deleted