<p>Service definition</p>
<pre class="lang-yaml prettyprint-override"><code>apiVersion: v1
kind: Service
metadata:
  name: zevrant-oauth2-service-db
spec:
  ports:
    - port: 5432
      targetPort: 5432
  selector:
    app: zevrant-oauth2-service-db

---

apiVersion: apps/v1
kind: Deployment
metadata:
  name: zevrant-oauth2-service-db-deployment
  labels:
    app: zevrant-oauth2-service-db
spec:
  replicas: 1
  selector:
    matchLabels:
      app: zevrant-oauth2-service-db
  template:
    metadata:
      labels:
        app: zevrant-oauth2-service-db
    spec:
      imagePullSecrets:
        - name: regcred
      volumes:
        - name: database
          nfs:
            server: 192.168.0.127
            path: /i-data/420aa917/nfs/keys
      nodeSelector:
        architecture: arm
      containers:
        - name: zevrant-oauth2-service-db
          image: postgres:latest
          volumeMounts:
            - name: database
              mountPath: /storage/keys/
          env:
            - name: POSTGRES_PASSWORD
              valueFrom:
                secretKeyRef:
                  name: oauth-db-password
                  key: password
            - name: PGDATA
              value: /storage/keys/db/$ENVIRONMENT/oauth2/
            - name: POSTGRES_USER
              value: zevrant
            - name: POSTGRES_DB
              value: oauth2
          ports:
            - containerPort: 5432
</code></pre>
<p>cluster detail information</p>
<pre class="lang-sh prettyprint-override"><code>zevrant@master-node:~$ kubectl get svc -o wide -n kube-system|grep dns 
kube-dns   ClusterIP   10.96.0.10   &lt;none&gt;        53/UDP,53/TCP,9153/TCP   10h   k8s-app=kube-dns

zevrant@master-node:~$ kubectl get pod -o wide -n kube-system|grep dns
coredns-66bff467f8-nq5jv              1/1     Running   1          150m   10.32.0.7       zevrant       &lt;none&gt;           &lt;none&gt;
coredns-66bff467f8-tljmr              1/1     Running   1          10h    10.40.0.1       master-node   &lt;none&gt;           &lt;none&gt;

 kubectl get svc -o wide 
NAME                        TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)          AGE   SELECTOR
ingress-nodeport-develop    NodePort    10.99.251.215   &lt;none&gt;        8080:30124/TCP   10h   app=zevrant-home-ui
zevrant-oauth2-service-db   ClusterIP   10.97.75.171    &lt;none&gt;        5432/TCP         9h    app=zevrant-oauth2-service-db
</code></pre>
<p>coredns logs for both master and worker node consist of</p>
<pre class="lang-sh prettyprint-override"><code>.:53
[INFO] plugin/reload: Running configuration MD5 = 4e235fcc3696966e76816bcd9034ebc7
CoreDNS-1.6.7
linux/amd64, go1.13.6, da7f65b
</code></pre>
<p>query for destination service</p>
<pre class="lang-sh prettyprint-override"><code>zevrant-home-ui@zevrant-home-ui-deployment-79c7dbb78-gksn8:/$ dig @10.96.0.10 zevrant-oauth2-service-db                    

; &lt;&lt;&gt;&gt; DiG 9.11.3-1ubuntu1.12-Ubuntu &lt;&lt;&gt;&gt; @10.96.0.10 zevrant-oauth2-service-db
; (1 server found)
;; global options: +cmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 65289
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;zevrant-oauth2-service-db. IN  A

;; ANSWER SECTION:
zevrant-oauth2-service-db. 5    IN  A   92.242.140.2

;; Query time: 14 msec
;; SERVER: 10.96.0.10#53(10.96.0.10)
;; WHEN: Sun Jul 12 23:43:07 UTC 2020
;; MSG SIZE  rcvd: 95
</code></pre>
<p>/etc/resolve.conf</p>
<pre class="lang-sh prettyprint-override"><code>nameserver 10.96.0.10
search zevrant-home-services-develop.svc.cluster.local svc.cluster.local cluster.local
options ndots:5
</code></pre>
<p>destination pod can hit the service (which is forwarded to itself) but UI pods cannot establish a connection to the service or destination pod via IP address. Any thoughts as to why this might be?</p>
<p><strong>EDIT #1</strong></p>
<p>postgress logs</p>
<pre><code>2020-07-13 15:34:27.394 UTC [1] LOG:  starting PostgreSQL 12.3 (Debian 12.3-1.pgdg100+1) on arm-unknown-linux-gnueabihf, compiled by gcc (Debian 8.3.0-6) 8.3.0, 32-bit
2020-07-13 15:34:27.395 UTC [1] LOG:  listening on IPv4 address &quot;0.0.0.0&quot;, port 5432
2020-07-13 15:34:27.395 UTC [1] LOG:  listening on IPv6 address &quot;::&quot;, port 5432
2020-07-13 15:34:28.825 UTC [1] LOG:  listening on Unix socket &quot;/var/run/postgresql/.s.PGSQL.5432&quot;
2020-07-13 15:34:29.401 UTC [26] LOG:  database system was shut down at 2020-07-13 15:31:07 UTC
2020-07-13 15:34:29.508 UTC [1] LOG:  database system is ready to accept connections
</code></pre>
<p>weave report</p>
<pre><code>{
    &quot;Ready&quot;: true,
    &quot;Version&quot;: &quot;2.6.5&quot;,
    &quot;VersionCheck&quot;: {
        &quot;Enabled&quot;: true,
        &quot;Success&quot;: false,
        &quot;NewVersion&quot;: &quot;&quot;,
        &quot;NextCheckAt&quot;: &quot;2020-07-13T19:06:21.030492043Z&quot;
    },
    &quot;Router&quot;: {
        &quot;Protocol&quot;: &quot;weave&quot;,
        &quot;ProtocolMinVersion&quot;: 1,
        &quot;ProtocolMaxVersion&quot;: 2,
        &quot;Encryption&quot;: false,
        &quot;PeerDiscovery&quot;: true,
        &quot;Name&quot;: &quot;ea:99:0e:11:d5:ae&quot;,
        &quot;NickName&quot;: &quot;master-node&quot;,
        &quot;Port&quot;: 6783,
        &quot;Peers&quot;: [
            {
                &quot;Name&quot;: &quot;ea:99:0e:11:d5:ae&quot;,
                &quot;NickName&quot;: &quot;master-node&quot;,
                &quot;UID&quot;: 4593396642225438236,
                &quot;ShortID&quot;: 2254,
                &quot;Version&quot;: 4,
                &quot;Connections&quot;: [
                    {
                        &quot;Name&quot;: &quot;1a:21:59:47:9a:5e&quot;,
                        &quot;NickName&quot;: &quot;zevrant&quot;,
                        &quot;Address&quot;: &quot;192.168.0.207:38089&quot;,
                        &quot;Outbound&quot;: false,
                        &quot;Established&quot;: true
                    },
                    {
                        &quot;Name&quot;: &quot;6a:6f:c4:0b:db:46&quot;,
                        &quot;NickName&quot;: &quot;raspi-03-02&quot;,
                        &quot;Address&quot;: &quot;192.168.0.42:6783&quot;,
                        &quot;Outbound&quot;: true,
                        &quot;Established&quot;: true
                    }
                ]
            },
            {
                &quot;Name&quot;: &quot;6a:6f:c4:0b:db:46&quot;,
                &quot;NickName&quot;: &quot;raspi-03-02&quot;,
                &quot;UID&quot;: 13536333655574378111,
                &quot;ShortID&quot;: 3959,
                &quot;Version&quot;: 13,
                &quot;Connections&quot;: [
                    {
                        &quot;Name&quot;: &quot;1a:21:59:47:9a:5e&quot;,
                        &quot;NickName&quot;: &quot;zevrant&quot;,
                        &quot;Address&quot;: &quot;192.168.0.207:45287&quot;,
                        &quot;Outbound&quot;: false,
                        &quot;Established&quot;: true
                    },
                    {
                        &quot;Name&quot;: &quot;ea:99:0e:11:d5:ae&quot;,
                        &quot;NickName&quot;: &quot;master-node&quot;,
                        &quot;Address&quot;: &quot;192.168.0.73:50257&quot;,
                        &quot;Outbound&quot;: false,
                        &quot;Established&quot;: true
                    }
                ]
            },
            {
                &quot;Name&quot;: &quot;1a:21:59:47:9a:5e&quot;,
                &quot;NickName&quot;: &quot;zevrant&quot;,
                &quot;UID&quot;: 14270350061285030667,
                &quot;ShortID&quot;: 3515,
                &quot;Version&quot;: 4,
                &quot;Connections&quot;: [
                    {
                        &quot;Name&quot;: &quot;6a:6f:c4:0b:db:46&quot;,
                        &quot;NickName&quot;: &quot;raspi-03-02&quot;,
                        &quot;Address&quot;: &quot;192.168.0.42:6783&quot;,
                        &quot;Outbound&quot;: true,
                        &quot;Established&quot;: true
                    },
                    {
                        &quot;Name&quot;: &quot;ea:99:0e:11:d5:ae&quot;,
                        &quot;NickName&quot;: &quot;master-node&quot;,
                        &quot;Address&quot;: &quot;192.168.0.73:6783&quot;,
                        &quot;Outbound&quot;: true,
                        &quot;Established&quot;: true
                    }
                ]
            }
        ],
        &quot;UnicastRoutes&quot;: [
            {
                &quot;Dest&quot;: &quot;6a:6f:c4:0b:db:46&quot;,
                &quot;Via&quot;: &quot;6a:6f:c4:0b:db:46&quot;
            },
            {
                &quot;Dest&quot;: &quot;1a:21:59:47:9a:5e&quot;,
                &quot;Via&quot;: &quot;1a:21:59:47:9a:5e&quot;
            },
            {
                &quot;Dest&quot;: &quot;ea:99:0e:11:d5:ae&quot;,
                &quot;Via&quot;: &quot;00:00:00:00:00:00&quot;
            }
        ],
        &quot;BroadcastRoutes&quot;: [
            {
                &quot;Source&quot;: &quot;ea:99:0e:11:d5:ae&quot;,
                &quot;Via&quot;: [
                    &quot;6a:6f:c4:0b:db:46&quot;,
                    &quot;1a:21:59:47:9a:5e&quot;
                ]
            },
            {
                &quot;Source&quot;: &quot;1a:21:59:47:9a:5e&quot;,
                &quot;Via&quot;: null
            },
            {
                &quot;Source&quot;: &quot;6a:6f:c4:0b:db:46&quot;,
                &quot;Via&quot;: null
            }
        ],
        &quot;Connections&quot;: [
            {
                &quot;Address&quot;: &quot;192.168.0.42:6783&quot;,
                &quot;Outbound&quot;: true,
                &quot;State&quot;: &quot;established&quot;,
                &quot;Info&quot;: &quot;fastdp 6a:6f:c4:0b:db:46(raspi-03-02)&quot;,
                &quot;Attrs&quot;: {
                    &quot;mtu&quot;: 1376,
                    &quot;name&quot;: &quot;fastdp&quot;
                }
            },
            {
                &quot;Address&quot;: &quot;192.168.0.207:38089&quot;,
                &quot;Outbound&quot;: false,
                &quot;State&quot;: &quot;established&quot;,
                &quot;Info&quot;: &quot;fastdp 1a:21:59:47:9a:5e(zevrant)&quot;,
                &quot;Attrs&quot;: {
                    &quot;mtu&quot;: 1376,
                    &quot;name&quot;: &quot;fastdp&quot;
                }
            },
            {
                &quot;Address&quot;: &quot;192.168.0.100:6783&quot;,
                &quot;Outbound&quot;: true,
                &quot;State&quot;: &quot;failed&quot;,
                &quot;Info&quot;: &quot;dial tcp :0-\u003e192.168.0.100:6783: connect: connection refused, retry: 2020-07-13 15:53:46.887472731 +0000 UTC m=+60329.814440915&quot;,
                &quot;Attrs&quot;: null
            },
            {
                &quot;Address&quot;: &quot;192.168.0.82:6783&quot;,
                &quot;Outbound&quot;: true,
                &quot;State&quot;: &quot;failed&quot;,
                &quot;Info&quot;: &quot;dial tcp :0-\u003e192.168.0.82:6783: connect: connection refused, retry: 2020-07-13 15:47:56.145112536 +0000 UTC m=+59979.072080717&quot;,
                &quot;Attrs&quot;: null
            }
        ],
        &quot;TerminationCount&quot;: 0,
        &quot;Targets&quot;: [
            &quot;192.168.0.82&quot;,
            &quot;192.168.0.42&quot;,
            &quot;192.168.0.100&quot;,
            &quot;192.168.0.207&quot;
        ],
        &quot;OverlayDiagnostics&quot;: {
            &quot;fastdp&quot;: {
                &quot;Vports&quot;: [
                    {
                        &quot;ID&quot;: 0,
                        &quot;Name&quot;: &quot;datapath&quot;,
                        &quot;TypeName&quot;: &quot;internal&quot;
                    },
                    {
                        &quot;ID&quot;: 1,
                        &quot;Name&quot;: &quot;vethwe-datapath&quot;,
                        &quot;TypeName&quot;: &quot;netdev&quot;
                    },
                    {
                        &quot;ID&quot;: 2,
                        &quot;Name&quot;: &quot;vxlan-6784&quot;,
                        &quot;TypeName&quot;: &quot;vxlan&quot;
                    }
                ],
                &quot;Flows&quot;: [
                    {
                        &quot;FlowKeys&quot;: [
                            &quot;EthernetFlowKey{src: ca:03:86:42:44:3b, dst: 1a:21:59:47:9a:5e}&quot;,
                            &quot;InPortFlowKey{vport: 1}&quot;,
                            &quot;UnknownFlowKey{type: 23, key: 0000, mask: 0000}&quot;,
                            &quot;UnknownFlowKey{type: 24, key: 00000000, mask: 00000000}&quot;,
                            &quot;UnknownFlowKey{type: 25, key: 00000000000000000000000000000000, mask: 00000000000000000000000000000000}&quot;,
                            &quot;UnknownFlowKey{type: 22, key: 00000000, mask: 00000000}&quot;
                        ],
                        &quot;Actions&quot;: [
                            &quot;SetTunnelAction{id: 0000000000dbb8ce, ipv4src: 192.168.0.73, ipv4dst: 192.168.0.207, ttl: 64, df: true}&quot;,
                            &quot;OutputAction{vport: 2}&quot;
                        ],
                        &quot;Packets&quot;: 24,
                        &quot;Bytes&quot;: 4230,
                        &quot;Used&quot;: 59955261
                    },
                    {
                        &quot;FlowKeys&quot;: [
                            &quot;UnknownFlowKey{type: 25, key: 00000000000000000000000000000000, mask: 00000000000000000000000000000000}&quot;,
                            &quot;UnknownFlowKey{type: 23, key: 0000, mask: 0000}&quot;,
                            &quot;UnknownFlowKey{type: 24, key: 00000000, mask: 00000000}&quot;,
                            &quot;EthernetFlowKey{src: ea:99:0e:11:d5:ae, dst: 01:00:5e:7f:ff:fa}&quot;,
                            &quot;InPortFlowKey{vport: 1}&quot;,
                            &quot;UnknownFlowKey{type: 22, key: 00000000, mask: 00000000}&quot;
                        ],
                        &quot;Actions&quot;: [
                            &quot;SetTunnelAction{id: 0000000000f778ce, ipv4src: 192.168.0.73, ipv4dst: 192.168.0.42, ttl: 64, df: true}&quot;,
                            &quot;OutputAction{vport: 2}&quot;,
                            &quot;SetTunnelAction{id: 0000000000dbb8ce, ipv4src: 192.168.0.73, ipv4dst: 192.168.0.207, ttl: 64, df: true}&quot;,
                            &quot;OutputAction{vport: 2}&quot;,
                            &quot;OutputAction{vport: 0}&quot;
                        ],
                        &quot;Packets&quot;: 40,
                        &quot;Bytes&quot;: 12240,
                        &quot;Used&quot;: 60041269
                    },
                    {
                        &quot;FlowKeys&quot;: [
                            &quot;TunnelFlowKey{id: 00000000008cedbb, ipv4src: 192.168.0.207, ipv4dst: 192.168.0.73}&quot;,
                            &quot;InPortFlowKey{vport: 2}&quot;,
                            &quot;UnknownFlowKey{type: 24, key: 00000000, mask: 00000000}&quot;,
                            &quot;UnknownFlowKey{type: 22, key: 00000000, mask: 00000000}&quot;,
                            &quot;EthernetFlowKey{src: 1a:21:59:47:9a:5e, dst: ca:03:86:42:44:3b}&quot;,
                            &quot;UnknownFlowKey{type: 23, key: 0000, mask: 0000}&quot;,
                            &quot;UnknownFlowKey{type: 25, key: 00000000000000000000000000000000, mask: 00000000000000000000000000000000}&quot;
                        ],
                        &quot;Actions&quot;: [
                            &quot;OutputAction{vport: 1}&quot;
                        ],
                        &quot;Packets&quot;: 24,
                        &quot;Bytes&quot;: 2106,
                        &quot;Used&quot;: 59955261
                    },
                    {
                        &quot;FlowKeys&quot;: [
                            &quot;UnknownFlowKey{type: 25, key: 00000000000000000000000000000000, mask: 00000000000000000000000000000000}&quot;,
                            &quot;EthernetFlowKey{src: ee:7c:a4:ba:4d:12, dst: ca:03:86:42:44:3b}&quot;,
                            &quot;UnknownFlowKey{type: 22, key: 00000000, mask: 00000000}&quot;,
                            &quot;UnknownFlowKey{type: 24, key: 00000000, mask: 00000000}&quot;,
                            &quot;InPortFlowKey{vport: 2}&quot;,
                            &quot;TunnelFlowKey{id: 00000000008cedbb, ipv4src: 192.168.0.207, ipv4dst: 192.168.0.73}&quot;,
                            &quot;UnknownFlowKey{type: 23, key: 0000, mask: 0000}&quot;
                        ],
                        &quot;Actions&quot;: [
                            &quot;OutputAction{vport: 1}&quot;
                        ],
                        &quot;Packets&quot;: 5,
                        &quot;Bytes&quot;: 414,
                        &quot;Used&quot;: 59953149
                    },
                    {
                        &quot;FlowKeys&quot;: [
                            &quot;UnknownFlowKey{type: 24, key: 00000000, mask: 00000000}&quot;,
                            &quot;UnknownFlowKey{type: 25, key: 00000000000000000000000000000000, mask: 00000000000000000000000000000000}&quot;,
                            &quot;UnknownFlowKey{type: 23, key: 0000, mask: 0000}&quot;,
                            &quot;UnknownFlowKey{type: 22, key: 00000000, mask: 00000000}&quot;,
                            &quot;EthernetFlowKey{src: 42:8b:89:88:2b:c3, dst: ca:03:86:42:44:3b}&quot;,
                            &quot;InPortFlowKey{vport: 2}&quot;,
                            &quot;TunnelFlowKey{id: 00000000008cedbb, ipv4src: 192.168.0.207, ipv4dst: 192.168.0.73}&quot;
                        ],
                        &quot;Actions&quot;: [
                            &quot;OutputAction{vport: 1}&quot;
                        ],
                        &quot;Packets&quot;: 4,
                        &quot;Bytes&quot;: 398,
                        &quot;Used&quot;: 59942269
                    },
                    {
                        &quot;FlowKeys&quot;: [
                            &quot;EthernetFlowKey{src: ca:03:86:42:44:3b, dst: ee:7c:a4:ba:4d:12}&quot;,
                            &quot;InPortFlowKey{vport: 1}&quot;,
                            &quot;UnknownFlowKey{type: 23, key: 0000, mask: 0000}&quot;,
                            &quot;UnknownFlowKey{type: 24, key: 00000000, mask: 00000000}&quot;,
                            &quot;UnknownFlowKey{type: 25, key: 00000000000000000000000000000000, mask: 00000000000000000000000000000000}&quot;,
                            &quot;UnknownFlowKey{type: 22, key: 00000000, mask: 00000000}&quot;
                        ],
                        &quot;Actions&quot;: [
                            &quot;SetTunnelAction{id: 0000000000dbb8ce, ipv4src: 192.168.0.73, ipv4dst: 192.168.0.207, ttl: 64, df: true}&quot;,
                            &quot;OutputAction{vport: 2}&quot;
                        ],
                        &quot;Packets&quot;: 5,
                        &quot;Bytes&quot;: 1032,
                        &quot;Used&quot;: 59953149
                    },
                    {
                        &quot;FlowKeys&quot;: [
                            &quot;UnknownFlowKey{type: 24, key: 00000000, mask: 00000000}&quot;,
                            &quot;EthernetFlowKey{src: ca:03:86:42:44:3b, dst: 8a:0a:d2:ae:d3:97}&quot;,
                            &quot;UnknownFlowKey{type: 25, key: 00000000000000000000000000000000, mask: 00000000000000000000000000000000}&quot;,
                            &quot;InPortFlowKey{vport: 1}&quot;,
                            &quot;UnknownFlowKey{type: 22, key: 00000000, mask: 00000000}&quot;,
                            &quot;UnknownFlowKey{type: 23, key: 0000, mask: 0000}&quot;
                        ],
                        &quot;Actions&quot;: [
                            &quot;SetTunnelAction{id: 0000000000dbb8ce, ipv4src: 192.168.0.73, ipv4dst: 192.168.0.207, ttl: 64, df: true}&quot;,
                            &quot;OutputAction{vport: 2}&quot;
                        ],
                        &quot;Packets&quot;: 6,
                        &quot;Bytes&quot;: 1592,
                        &quot;Used&quot;: 59954109
                    },
                    {
                        &quot;FlowKeys&quot;: [
                            &quot;UnknownFlowKey{type: 23, key: 0000, mask: 0000}&quot;,
                            &quot;UnknownFlowKey{type: 24, key: 00000000, mask: 00000000}&quot;,
                            &quot;TunnelFlowKey{id: 00000000008cedbb, ipv4src: 192.168.0.207, ipv4dst: 192.168.0.73}&quot;,
                            &quot;UnknownFlowKey{type: 25, key: 00000000000000000000000000000000, mask: 00000000000000000000000000000000}&quot;,
                            &quot;EthernetFlowKey{src: 8a:0a:d2:ae:d3:97, dst: ca:03:86:42:44:3b}&quot;,
                            &quot;InPortFlowKey{vport: 2}&quot;,
                            &quot;UnknownFlowKey{type: 22, key: 00000000, mask: 00000000}&quot;
                        ],
                        &quot;Actions&quot;: [
                            &quot;OutputAction{vport: 1}&quot;
                        ],
                        &quot;Packets&quot;: 6,
                        &quot;Bytes&quot;: 542,
                        &quot;Used&quot;: 59954109
                    },
                    {
                        &quot;FlowKeys&quot;: [
                            &quot;UnknownFlowKey{type: 22, key: 00000000, mask: 00000000}&quot;,
                            &quot;UnknownFlowKey{type: 25, key: 00000000000000000000000000000000, mask: 00000000000000000000000000000000}&quot;,
                            &quot;UnknownFlowKey{type: 24, key: 00000000, mask: 00000000}&quot;,
                            &quot;EthernetFlowKey{src: be:ae:7d:4e:72:5a, dst: ff:ff:ff:ff:ff:ff}&quot;,
                            &quot;TunnelFlowKey{id: 00000000008cef77, ipv4src: 192.168.0.42, ipv4dst: 192.168.0.73}&quot;,
                            &quot;InPortFlowKey{vport: 2}&quot;,
                            &quot;UnknownFlowKey{type: 23, key: 0000, mask: 0000}&quot;
                        ],
                        &quot;Actions&quot;: [
                            &quot;OutputAction{vport: 1}&quot;,
                            &quot;OutputAction{vport: 0}&quot;
                        ],
                        &quot;Packets&quot;: 10,
                        &quot;Bytes&quot;: 1784,
                        &quot;Used&quot;: 60044189
                    },
                    {
                        &quot;FlowKeys&quot;: [
                            &quot;InPortFlowKey{vport: 1}&quot;,
                            &quot;UnknownFlowKey{type: 23, key: 0000, mask: 0000}&quot;,
                            &quot;UnknownFlowKey{type: 25, key: 00000000000000000000000000000000, mask: 00000000000000000000000000000000}&quot;,
                            &quot;EthernetFlowKey{src: ca:03:86:42:44:3b, dst: 42:8b:89:88:2b:c3}&quot;,
                            &quot;UnknownFlowKey{type: 22, key: 00000000, mask: 00000000}&quot;,
                            &quot;UnknownFlowKey{type: 24, key: 00000000, mask: 00000000}&quot;
                        ],
                        &quot;Actions&quot;: [
                            &quot;SetTunnelAction{id: 0000000000dbb8ce, ipv4src: 192.168.0.73, ipv4dst: 192.168.0.207, ttl: 64, df: true}&quot;,
                            &quot;OutputAction{vport: 2}&quot;
                        ],
                        &quot;Packets&quot;: 4,
                        &quot;Bytes&quot;: 1016,
                        &quot;Used&quot;: 59942269
                    },
                    {
                        &quot;FlowKeys&quot;: [
                            &quot;UnknownFlowKey{type: 24, key: 00000000, mask: 00000000}&quot;,
                            &quot;InPortFlowKey{vport: 2}&quot;,
                            &quot;EthernetFlowKey{src: 3a:96:00:f9:20:d1, dst: ff:ff:ff:ff:ff:ff}&quot;,
                            &quot;TunnelFlowKey{id: 00000000008cef77, ipv4src: 192.168.0.42, ipv4dst: 192.168.0.73}&quot;,
                            &quot;UnknownFlowKey{type: 23, key: 0000, mask: 0000}&quot;,
                            &quot;UnknownFlowKey{type: 25, key: 00000000000000000000000000000000, mask: 00000000000000000000000000000000}&quot;,
                            &quot;UnknownFlowKey{type: 22, key: 00000000, mask: 00000000}&quot;
                        ],
                        &quot;Actions&quot;: [
                            &quot;OutputAction{vport: 1}&quot;,
                            &quot;OutputAction{vport: 0}&quot;
                        ],
                        &quot;Packets&quot;: 3,
                        &quot;Bytes&quot;: 1149,
                        &quot;Used&quot;: 59998761
                    }
                ]
            },
            &quot;sleeve&quot;: null
        },
        &quot;TrustedSubnets&quot;: [],
        &quot;Interface&quot;: &quot;datapath (via ODP)&quot;,
        &quot;CaptureStats&quot;: {
            &quot;FlowMisses&quot;: 12234
        },
        &quot;MACs&quot;: [
            {
                &quot;Mac&quot;: &quot;ee:7c:a4:ba:4d:12&quot;,
                &quot;Name&quot;: &quot;1a:21:59:47:9a:5e&quot;,
                &quot;NickName&quot;: &quot;zevrant&quot;,
                &quot;LastSeen&quot;: &quot;2020-07-13T15:43:17.292214531Z&quot;
            },
            {
                &quot;Mac&quot;: &quot;ca:03:86:42:44:3b&quot;,
                &quot;Name&quot;: &quot;ea:99:0e:11:d5:ae&quot;,
                &quot;NickName&quot;: &quot;master-node&quot;,
                &quot;LastSeen&quot;: &quot;2020-07-13T15:43:17.292142775Z&quot;
            },
            {
                &quot;Mac&quot;: &quot;ea:99:0e:11:d5:ae&quot;,
                &quot;Name&quot;: &quot;ea:99:0e:11:d5:ae&quot;,
                &quot;NickName&quot;: &quot;master-node&quot;,
                &quot;LastSeen&quot;: &quot;2020-07-13T15:43:17.292177972Z&quot;
            },
            {
                &quot;Mac&quot;: &quot;8a:0a:d2:ae:d3:97&quot;,
                &quot;Name&quot;: &quot;1a:21:59:47:9a:5e&quot;,
                &quot;NickName&quot;: &quot;zevrant&quot;,
                &quot;LastSeen&quot;: &quot;2020-07-13T15:43:17.292261033Z&quot;
            },
            {
                &quot;Mac&quot;: &quot;3a:96:00:f9:20:d1&quot;,
                &quot;Name&quot;: &quot;6a:6f:c4:0b:db:46&quot;,
                &quot;NickName&quot;: &quot;raspi-03-02&quot;,
                &quot;LastSeen&quot;: &quot;2020-07-13T15:43:17.292295962Z&quot;
            },
            {
                &quot;Mac&quot;: &quot;be:ae:7d:4e:72:5a&quot;,
                &quot;Name&quot;: &quot;6a:6f:c4:0b:db:46&quot;,
                &quot;NickName&quot;: &quot;raspi-03-02&quot;,
                &quot;LastSeen&quot;: &quot;2020-07-13T15:43:17.292272079Z&quot;
            },
            {
                &quot;Mac&quot;: &quot;1a:21:59:47:9a:5e&quot;,
                &quot;Name&quot;: &quot;1a:21:59:47:9a:5e&quot;,
                &quot;NickName&quot;: &quot;zevrant&quot;,
                &quot;LastSeen&quot;: &quot;2020-07-13T15:43:17.292200309Z&quot;
            },
            {
                &quot;Mac&quot;: &quot;42:8b:89:88:2b:c3&quot;,
                &quot;Name&quot;: &quot;1a:21:59:47:9a:5e&quot;,
                &quot;NickName&quot;: &quot;zevrant&quot;,
                &quot;LastSeen&quot;: &quot;2020-07-13T15:43:17.292226062Z&quot;
            }
        ]
    },
    &quot;IPAM&quot;: {
        &quot;Paxos&quot;: null,
        &quot;Range&quot;: &quot;10.32.0.0/12&quot;,
        &quot;RangeNumIPs&quot;: 1048576,
        &quot;ActiveIPs&quot;: 2,
        &quot;DefaultSubnet&quot;: &quot;10.32.0.0/12&quot;,
        &quot;Entries&quot;: [
            {
                &quot;Token&quot;: &quot;10.32.0.0&quot;,
                &quot;Size&quot;: 393216,
                &quot;Peer&quot;: &quot;1a:21:59:47:9a:5e&quot;,
                &quot;Nickname&quot;: &quot;zevrant&quot;,
                &quot;IsKnownPeer&quot;: true,
                &quot;Version&quot;: 75
            },
            {
                &quot;Token&quot;: &quot;10.38.0.0&quot;,
                &quot;Size&quot;: 131072,
                &quot;Peer&quot;: &quot;6a:6f:c4:0b:db:46&quot;,
                &quot;Nickname&quot;: &quot;raspi-03-02&quot;,
                &quot;IsKnownPeer&quot;: true,
                &quot;Version&quot;: 15
            },
            {
                &quot;Token&quot;: &quot;10.40.0.0&quot;,
                &quot;Size&quot;: 262144,
                &quot;Peer&quot;: &quot;ea:99:0e:11:d5:ae&quot;,
                &quot;Nickname&quot;: &quot;master-node&quot;,
                &quot;IsKnownPeer&quot;: true,
                &quot;Version&quot;: 6
            },
            {
                &quot;Token&quot;: &quot;10.44.0.0&quot;,
                &quot;Size&quot;: 1,
                &quot;Peer&quot;: &quot;6a:6f:c4:0b:db:46&quot;,
                &quot;Nickname&quot;: &quot;raspi-03-02&quot;,
                &quot;IsKnownPeer&quot;: true,
                &quot;Version&quot;: 1
            },
            {
                &quot;Token&quot;: &quot;10.44.0.1&quot;,
                &quot;Size&quot;: 262143,
                &quot;Peer&quot;: &quot;ea:99:0e:11:d5:ae&quot;,
                &quot;Nickname&quot;: &quot;master-node&quot;,
                &quot;IsKnownPeer&quot;: true,
                &quot;Version&quot;: 0
            }
        ],
        &quot;PendingClaims&quot;: null,
        &quot;PendingAllocates&quot;: null
    }
}
</code></pre>
<p>Pods are deployed into the same namespace as such</p>
<pre><code>NAME                                                    READY   STATUS             RESTARTS   AGE
zevrant-home-ui-deployment-79c7dbb78-gksn8              1/1     Running            0          16h
zevrant-home-ui-deployment-79c7dbb78-zgp4c              1/1     Running            0          16h
zevrant-oauth2-service-db-deployment-6f7c7ccdb5-5g599   1/1     Running    

    0          19m
</code></pre>

<p>Based on the <code>dig</code> output you shared <code>zevrant-oauth2-service-db</code> is resolving to <code>92.242.140.2</code> but it looks like the IP address of your K8s service is <code>10.97.75.171</code> (ClusterIP) (based on the output you shared too).</p>
<p>If you hit <code>10.97.75.171 5432</code> you should be able to access your Postgres database, provided that you don't have any Kubernetes Network Policy and/or firewall blocking access. Make sure you that in your Postgres config you are binding the server to <code>0.0.0.0</code> otherwise if it's something like <code>localhost</code> you will only be able to get to it from the pod.</p>
<p>So the question is what is <code>92.242.140.2</code>? Wny is coredns responding to a query to <code>zevrant-oauth2-service-db</code> with <code>92.242.140.2</code>? Is there a DNS forwarder configured in coredns? Is there a default domain configured that is not part of <code>svc.cluster.local</code>?</p>
