...
Go to OpenStack and check that the LB has been created in the Project/Network/LoadBalancer tab. Using a browser or the curl command, you should be able to access the backend service by sending HTTP request to the domain name specified in the Ingress resource (remember to hook the hostname to the FIP in the /etc/hosts of the machine from which the request to the service starts)
Code Block | ||||
---|---|---|---|---|
| ||||
$ curl webserver-bar.com/coffee Server address: 172.16.94.81:8080 Server name: coffee-6f4b79b975-25jrn Date: 30/Oct/2020:17:34:39 +0000 URI: /coffee Request ID: 448271f01b708f4bb1d92b31600be368 $ curl webserver-bar.com/tea Server address: 172.16.141.44:8080 Server name: tea-6fb46d899f-47rtv Date: 30/Oct/2020:17:34:46 +0000 URI: /tea Request ID: 47f120d482f1236c4f5351b114d389a5 |
...