You can translate the question and the replies:

port usage and pod setup

While on 20230301 container version I have the deployment for Denodo set on 30299 port using TLS. This port is also exposed on cluster port 30299. Clients are able to connect to this POD using jdbc driver with connect string as "jdbc:vdb://". This would hit the cluster ingress 30299, which is routed on layer 4 to service port 8999, which is linked to pod port 30299. To avoid using custom ports and move from layer 4 to layer 7 routing I aim to add an alias on the TLS certificate as jdbc.denodo.aks-cluster-name. This allows me to add an ingress definition for the cluster (port 443) for this host (jdbc. * ), so that all traffic for host jdbc.denodo.aks-cluster-name is routed to the denodo port (remains at 30299). While this setup still works for the 30299 port as before and for VDP admin interface, connection attemps from clients using the aliased hostname and the 443 port fails wtih "Connection error: Check the hostname and port number are correct, and that client and server belong to the same Denodo major version." The connect string in this case would typically be "jdbc:vdb://**jdbc****443**/admin". The traffic is routed by host-name (layer 7) to Service port 8999 (same port as before). The service is as before linked to pod port 30299. Hence we have two ways to access the same pod port, one routes based upon the port (which have a limited amount of ports that can be used), the other use a logical name which is easier to remember and make sense of and is near endlessly possible to vary /tweak. The VDP admin interface (local client and web-client) both work with the aliased setup, i.e. the VDP admin interfaces work with the jdbc prefix on port 443. The jdbc connection fails. Is it a requirement that the ingress port is the same as the deployment port for jdbc? If so, why - this defeats a bit of how the kubernetes virtualizes port usage. Is the same a requirement for odbc?
06-03-2023 06:13:19 -0500

1 Answer

Hi, [Ingress]( usually routes HTTP and HTTPS connections to the server inside the cluster. However, as it's described in the [Default Ports Used by the Denodo Platform Modules]( documentation, Denodo uses TCP/IP ports to connect to different components. So you need to make sure that the Ingress you are using is compatible with TCP Routing. In [Deploying Denodo in Kubernetes](,appropriate%20container%20options), you can find the ports that are mapped in the container. Ports 9997 and 9995 should be the same for Service as well as for the deployment. The reason for that is the internal configuration of the RMI connections. The other ports, such as ODBC, can differ between service and pod, it will not affect the process. If you have a valid support user, you may want to contact [Denodo Support]( which will be able to better assist you. Hope this helps!
Denodo Team
07-03-2023 08:13:50 -0500
You must sign in to add an answer. If you do not have an account, you can register here