My app is
React Front-end <------> Nodes js back-end <------> mongodb
Source code can be downloaded from here
You can deploy above ./setup.sh command at minikube kubernetes
1) mongoDB deployment with clusterIP Type service resource
2) Backend node js server with clusterIP Type service resource
3) front-end React build with nginx and LoadBalancer type service resource
Accessing monogdb pod from node js pod using mongodb service FQDN is working fine as mongodb service is cluster IP type and accessing from nodejs pod is working smoothly.
I am having trouble in having communication using axios from react (build) using FQDN of back-end service resource. It is saying:
**POST http://todo-backend-service:5000/init net::ERR_NAME_NOT_RESOLVED**
I have even tried with cluster IP with 5000 port instead of FQDN, not working.
This seems to be a problem after making build or something else?
Solution to it would be appreciated.