Using kubernetes and minikube, let's say you have:
deployment A
Web app with loadBalancer type service
deployment B
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 service
and 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.