Set up routing for sample apps
Set up some Gloo resources to manage incoming traffic requests to your Bookinfo and httpbin apps.
The following example creates an HTTP virtual gateway listener and route table for your sample apps on the www.example.com
host. You can use this setup to test most Gloo policies, such as traffic management, security, and resiliency policies.
Set up routing
Create a
VirtualGateway
resource to configure an HTTP listener on your ingress gateway proxy, which starts a process that continuously listens for incoming client requests for a specific host, port, and protocol.Set up a route table to forward incoming requests to the services of the Bookinfo and httpbin apps that you exposed with the HTTP gateway.
Save the external address of the ingress gateway.
Send a request to each route to verify that you can reach the apps’ services. If not, try Debugging your route.
productpage
:Example output:ratings
:Example output:reviews
:Example output:httpbin
:Example output:
Next
Apply a fault injection policy to the reviews service to delay requests and simulate network issues or an overloaded service.