'How to route traffic to kubernetes pods when the traffic ist mostly non HTTP?

I have all lot of applications running on a vps (git+ssh, website, minecraft server...), and want to migrate them to kubernetes routed via subdomains. E.g.: web.domain.com -> website pod, git.domain.com -> git pod,...

I wanted to do that with nginx ingress, but it only works with http requests, which most of my apps aren't. How can I do something similar to ingress when the requests are not http?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source