Connecting to external server through Endpoint

Hi ,

We are starting out to migrate our traditional application to Kubernetes , It is hosted on a bare metal HW using Rancher

We are using an endpoint to connect to a external DB, and we are having issues getting it to work on a customer cluster,

Any help on how to debug the issue is greatly appreciated

Cluster information:

Kubernetes version: 1.20
Cloud being used: bare-metal
Installation method:
Host OS: RHEL (pods image centOS)
CNI and version:
CRI and version:

apiVersion: v1
kind: “Endpoints”

metadata:
name: dbendpoint
namespace: sntest # Namespace
labels:
app: dbendpoint

subsets:

  • addresses:
    • ip: 10.161.9.126
      ports:
    • port: 1525
      name: dbendpoint