Adding App Mesh VirtualGateway
Until now we have verified the communication between services is routed through envoy proxy, lets expose the frontend service
frontend-node using AWS App Mesh VirtualGateway.
Create VirtualGateway components uisng the virtual_gateway.yaml as shown below.
This will create the kubernetes service as Type Load Balancer and will use the AWS Network Load balancer for routing the external internet traffic.
kubectl apply -f deployment/virtual_gateway.yaml
Get all the resources that are running in the namespace
You can see VirtualGateway components named as
kubectl get all -n prodcatalog-ns -o wide | grep ingress
Log into console and navigate to AWS App Mesh -> Click on
prodcatalog-mesh -> Click on
Virtual gateways, you should see below page.