tcp protocol based gateway is not working .
Created a tcp/2347 port based gateway and this port is not reachable.
According to link (Istio / GatewayPortNotOnWorkload), do I need to add port 2347 during istio installation only?
This tcp/2347 can not be added at run time (post istio installation) using istio resource Gateway/ VirtualService?
istio installation (my-config.yaml is attached)
$ istioctl install -f my-config.yaml -y
create a tcp-echo2 server, gateway, virtual service (tcp-echo-server.yaml is attached)
$ kubectl -n tcp create -f tcp-echo-server.yaml
ingress gateway pod is listing on port tcp/2347
$ netstat -nlt |grep 2347
tcp 0 0 0.0.0.0:2347 0.0.0.0:* LISTEN
istio analyse is giving below warning
istioctl analyze -n tcp Warning [IST0104] (Gateway tcp-echo2-gateway.tcp) The gateway refers to a port that is not exposed on the workload (pod selector istio=ingressgateway; port 2347)
port is not reachable via ingressgateway service
nc istio-ingressgateway.istio-system.svc.cluster.local 2347 Ncat: Connection timed out.