Lab 3 - Expose the Service Mesh with Istio Ingress Gateway
The components deployed on the service mesh by default are not exposed outside the cluster. External access to individual services so far has been provided by creating an external load balancer or node port on each service.
An Ingress Gateway resource can be created to allow external requests through the Istio Ingress Gateway to the backing services.

Expose the Guestbook app with Ingress Gateway
Configure the guestbook default route with the Istio Ingress Gateway. The
guestbook-gateway.yamlfile is in this repository (istio101) in theworkshop/plansdirectory.
cd ../../plans
kubectl create -f guestbook-gateway.yamlGet the EXTERNAL-IP of the Istio Ingress Gateway.
kubectl get service istio-ingressgateway -n istio-systemOutput:
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
istio-ingressgateway LoadBalancer 172.21.254.53 169.6.1.1 80:31380/TCP,443:31390/TCP,31400:31400/TCP 1m
2dMake note of the external IP address that you retrieved in the previous step, as it will be used to access the Guestbook app in later parts of the course. Create an environment variable called $INGRESS_IP with your IP address.
Example:
export INGRESS_IP=169.6.1.1Remember this environment variable as we will use it in the next lab.
References
Last updated
Was this helpful?