5.2 Find IP Address of Istio Ingress Gateway

Before you start a transaction, you must note down the external IP address of the Istio ingress gateway.

You need this information to access the applications.
  1. Run the following command to find the external IP address of the Istio ingress gateway.

    Command

    kubectl get svc istio-ingressgateway -n istio-system

    Sample Output

    kubectl get svc istio-ingressgateway -n istio-system
    NAME                   TYPE           CLUSTER-IP       EXTERNAL-IP   PORT(S)                                      AGE
    istio-ingressgateway   LoadBalancer   10.109........   192.0.2.1     15021:31695/TCP,80:32333/TCP,443:7777/TCP    44h
  2. From the output note down the value of EXTERNAL-IP, which is the external IP address of the Istio ingress gateway, and the port associated with the HTTP or HTTPS traffic, based on the access protocol that you have configured. For example: https://192.0.2.1:443.
  3. Store the external IP address of the Istio ingress gateway in an environment variable named CLUSTER_IPADDR as shown in the following command.
    export CLUSTER_IPADDR=192.0.2.1

    Note that, if you don't do this, then you must explicitly specify the IP address in the commands when required.