I create a kong TCPIngress SNI to open up a new TCP port for my cluster and I want to use path and pathType options to route traffic to different ports based on “Path”. Is that possible? If yes, can you show me how? because I don’t see the “Path” option in TCPIngress document.
Paths are an application-level construct. TCP simply doesn’t have them or any equivalent, only the port and SNI hostname if TLS.
Do you have any suggestions or workarounds on how I can use the path with TCPingress?
What would it do if you set it? There simply aren’t paths in TCP. If you want to route requests to different services, they need to use different SNI hostnames or different ports.