Routing TCP Services
Some kubes, such as databases and metric aggregators, do not provide a web interface or do not use HTTP. However, when building infrastructure from several service clusters, you need to provide access to such services from other clusters or from outside through VPN.
When TCP Routing Is Needed
For such services, a TCP port is set to serve the selected kube, usually a built-in kube from the SHIPOPS library. For example, the PostgreSQL database from the SHIPOPS library provides a number of services for different usage scenarios through TCP port 5432. As a rule, this same port should be used in TCP routing to avoid conflicts with ports of other services, including Kubernetes service ports.