How to access host's localhost from inside kubernetes cluster
In this application, nodejs pods are running inside kubernetes, and mongodb itself sitting outside at host as localhost. This indeed not good design, but its only for dev environment. In production a separte mongodb server will be there, as such option to have a non loopback ip in endpoint, so will not be a problem in Production. Have considered following op