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.
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.