Question

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.

Subscribe
Share

Yes looks like it was the use of small nodes.

Hi there!

Thank you for contacting DigitalOcean! What size nodes are you using? This can often times occur on small nodes if they are overcommitted. Did they ever work or does this issue happen repeatedly without success.

Regards,

John Kwiatkoski Senior Developer Support Engineer


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

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.

This comment has been deleted