Exposing TCP services in Kong Ingress Controller

Hi @hbagdi

I’m using kong ingress controller for our kubernetes cluster. I’m looking for a way to connect GitLab Shell component to a container that requires TCP traffic to pass through on port 22.

I’ve been searching for documentation or solution. I saw that this is possible using nginx-ingress-controller, they have support for exposing tcp service using the flag --tcp-services-configmap. See below documentations.

Is there a similar way to do it using kong ingress controller? Thanks

https://docs.gitlab.com/charts/advanced/external-nginx/#tcp-services-in-the-external-ingress-controller

I saw this stream_listen. I tried adding port 8022 in kong proxy ingress controller, but i don’t know how to point to kubernetes container port 22.

name: KONG_STREAM_LISTEN 
value: 0.0.0.0:8022

Great timing.
Controller 0.8 comes out this Thursday and it is adding support for TCP based services.

1 Like

© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ