title: Cannot connect to external database (different subnet) from Kubernetes pod
body: <p>I'm trying to connect to an external system (Denodo) which is outside my cluster network from my pod but it doesn't work. however, the server is pingable from the pod and I can telnet it on the customer port from the pod as well. I tried to create a new service for the external system and create an endpoint for it but still same issue when I take tcpdump I can see that the packet doesn't go out my pod (Timeto Live 64).</p>
  <p>the newly created service</p>
  <pre><code>apiVersion: v1
  kind: Service
  metadata:
    name: denodo
  spec:
    selector:
      app: test
    ports:
      - name: vdp
        protocol: TCP
        port: 9999
        targetPort: 9999
    externalIPs:
      - 10.37.X.X
      
  the EndPoint is 
  apiVersion: v1
  kind: Endpoints
  metadata:
   name: denodo
  subsets:
   - addresses:
     - ip: 10.37.X.X
     ports:
     - port: 9999
       name: denodo
  </code></pre>
  <p>Can anyone help me to solve it please!</p>