0

I have configured a K8S cluster with istio-ingressgateway as per the docs.

Although the HPE Container Platform managed haproxy gateway can route traffic to the istio-ingressgateway, I would like to access the host endpoints directly.

How can I determine the ingress IP addresses and ports for the hosts avoiding the managed haproxy gateway?

Chris Snow
  • 23,813
  • 35
  • 144
  • 309

1 Answers1

0

This is how I found the information:

$ kubectl get po -l istio=ingressgateway -n istio-system \
     -o jsonpath='{.items[*].status.hostIP}'
10.1.0.193 10.1.0.132 10.1.0.174

the ports are found as follows:

$ kubectl -n istio-system get service istio-ingressgateway \
     -o jsonpath='{.spec.ports[?(@.name=="http2")].nodePort}'
32725

$ kubectl -n istio-system get service istio-ingressgateway \
     -o jsonpath='{.spec.ports[?(@.name=="https")].nodePort}'
30557

$ kubectl -n istio-system get service istio-ingressgateway \
     -o jsonpath='{.spec.ports[?(@.name=="tcp")].nodePort}'
[no data returned]

Source: istio docs

Chris Snow
  • 23,813
  • 35
  • 144
  • 309