Connecting to Db2 or Db2 Warehouse with a Red Hat OpenShift TLS route
You can set up an OpenShift TLS route to connect to the Db2 or Db2 Warehouse service on Red Hat OpenShift and Kubernetes from a Db2 or Db2 Warehouse client.
About this task
You can use the NodePort to access the Db2 or Db2 Warehouse database with a supported Db2 client (such as a JDBC client). If you don not want to use the NodePort, you can edit the service that exposes the NodePort to transform the NodePort back into a ClusterIP. In place, you can define an OpenShift® route over the Db2 or Db2 Warehouse TLS port.
The OpenShift TLS route that you
create needs to have the following values set:
- Route termination set to
passthrough
. insecureEdgeTerminationPolicy
set toNone
.- The target port 50001 or the label associated with the port
ssl-server
.