Deploying Webserver And Mongodb in Kubernetes with istio as side car proxy


I have deployed webserver and Mongodb as Service in Kubernetes with Istio Side Car Proxy. Also Configured Ingress-gateway so that i can access webserver from my machine browser.

HTTP request received at Webserver via istio-proxy but web server not able to send traffic to Mongodb Service.

But without side car proxy traffice routed to Mongodb .

What needs to be done in this case ?



Have you correctly define your mongo service with protocol port Mongo?


Thanks for your reply . Now able to send traffic via istio-
But how to see logs of mongo protocol queries going to mongodb server via istio-proxy ?

And How to configure fault injection of mongodb ?
Also mongodb stats not coming in GUI like prothemus etc.