Chapter 8. Checking service access from the frontend
Procedure
Get the URL details:
$ kubectl get service hello-world-frontend -o jsonpath='{.status.loadBalancer.ingress[0].ip}'Use the output IP address to construct the <frontend-url>:
<cluster-ip-address>:8080/
Navigate to the
<frontend-url>value in your browser and click Say hello. You see a message similar to the following:Hi, <name>. I am Mathematical Machine (backend-77f8f45fc8-mnrdp).
If you click Say hello again, a different backend process responds showing how Application Interconnect balances the requests.
This shows how the frontend calls the backend over the service network from an OpenShift cluster.
Additional resources