March 2020
Intermediate to advanced
626 pages
14h 45m
English
In real-world scenarios, operators use DNS to map ingress gateway IP addresses to the names that we are using.
In our case, we will define these in the /etc/hosts file. Let's get started:
$ export INGRESS_HOST=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.status.loadBalancer.ingress..ip}') ; echo $INGRESS_HOST192.168.142.249$ export INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="https")].port}') ; echo $INGRESS_PORT443
The ingress IP address could be different in your VM.
Read now
Unlock full access