Invalid configuration for Ingress Gateway?


I am working on an EKS cluster that somebody else set up. I am trying to get an ActiveMQ pod running there. The other guy configured all the Istio things. I can access the ActiveMQ web console on port 8161, but not the Openwire port on port 61616.

I fetched the configuration of the istio-ingressgateway service to have a look, and here is what I can see towards the end, in the .spec.ports section:

  - name: activemq
    nodePort: 32558
    port: 8161
    protocol: TCP
    targetPort: 8443
  - name: activemq-openwire
    nodePort: 32559
    port: 61616
    protocol: TCP
    targetPort: 8443
  - name: activemq-stomp
    nodePort: 32560
    port: 61613
    protocol: TCP
    targetPort: 8443

All the target ports are set to 8443. I told the other guy, but he said that the targetPort is applicable only when we use serviceEntries. Does that make sense?

Thanks a lot for your help!