Using kubernetes and minikube, let's say you have:
Web app with loadBalancer type service
express.js back end for apis with loadBalancer type service.
To do fetch calls in deployment A, how do I know what the host or ipaddress is for deployment B?
kubectl get serviceand hard coding it in the front end app of deployment A. I would be ok with this if the ip address never changed but it does.