front-end Vue.js app in Kubernetes docker container cannot connect to back-end
问题 I have built a front-end Vue.js application, running on a docker container under kubernetes environment. the backend is also in the same kubernetes cluster (I am using Minikube for the project). When running it gets error net::ERR_NAME_NOT_RESOLVED when connecting to back-end containers: while inside the container, there is no problem connect to the back-end using curl: $ kubectl exec -it deployment/hpl-browser-deployment -- sh / # curl http://hpl-manager-service:2354 { "message": "Manager