GatewayPortNotOnWorkload
| Message Name | GatewayPortNotOnWorkload |
| Message Code | IST0104 |
| Description | Unhandled gateway port |
| Level | Warning |
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:
# Gateway with bogus portapiVersion: networking.istio.io/v1alpha3kind: Gatewaymetadata:name: httpbin-gatewayspec:selector:istio: ingressgatewayservers:- port:number: 80name: httpprotocol: HTTPhosts:- "*"- port:number: 8004name: http2protocol: HTTPhosts:- "*"
In this example, the GatewayPortNotOnWorkload message occurs because this configuration uses port 8004, but a default IngressGateway is only open on ports 80, 443, 31400, and 15443.
To resolve this problem, change your gateway configuration to use a valid port on the workload and try again.