4.2.3 查看Ingress Gateway的地址

通过查看Kubernetes服务列表或者通过命令行Kubectl get service-istio-system,在列表中找到istio-ingressgateway的外部端点地址。

打开浏览器,访问http://{GATEWAY-IP}/productpage。多次刷新页面,会得到如下3种不同的显示内容,也就是上述提到的3个版本的addedvalues微服务。

微服务addedvalues版本v1对应的页面如图4-9所示。

图4-9 版本v1对应的页面

微服务addedvalues版本v2对应的页面如图4-10所示。

图4-10 版本v2对应的页面

微服务addedvalues版本v3对应的页面如图4-11所示。