GatewayPortNotDefinedOnService
This message occurs when a gateway (usually istio-ingressgateway
) offers a
port that the Kubernetes service workload selected by the gateway does not.
For example, your Istio configuration contains these values:
In this example, the GatewayPortNotDefinedOnService
message occurs because this
configuration uses port 8004, but a default IngressGateway
(named istio-ingressgateway
) is only open on target ports
15021, 8080 and 8443.
To resolve this problem, change your gateway configuration to use a valid port on the workload and try again.
Here’s a corrected example: