Sphere
Log in Join
☆ 3

pod resolves service DNS sometimes, mostly times out

K8s 1.28, self-managed cluster on bare metal, CoreDNS. Pods in one namespace resolve api.internal.svc.cluster.local maybe one attempt in five, the rest are dial tcp: lookup api.internal: i/o timeout. Those same pods can curl the service IP directly all day. Node has two NICs. Restarted CoreDNS and checked its logs, nothing obvious. Running out of ideas on where to look next, any guesses appreciated.

⚑ Report

1 replies

☆ 3
G grpc ·2026-10-16#1

Wild guess but the two NICs smell like it — maybe CoreDNS or kube-proxy picks the wrong interface and DNS packets take a weird route. Could equally be a full conntrack table on the nodes dropping UDP. I'd compare /etc/resolv.conf inside a failing pod against a working namespace. Honestly not sure, just where I'd start poking.

⚑ Report
Log in to reply.