CoreDNS resolution breaks inside pods after kube-proxy switch to IPVS on Debian worker nodes
Environment
On-premises k8s: control plane on Ubuntu 20.04, worker nodes running Debian 11, kube-proxy switched from iptables to IPVS mode via kubeadm; CoreDNS v1.8.0 in kube-system; Calico CNI in use (policy only), nodes use systemd-resolved locally.
Symptoms
Within several pods, DNS lookups for cluster services and external domains intermittently time out; DNS queries succeed from host (dig @127.0.0.53) but fail from affected pods. Some pods can reach 10.96.0.10 (ClusterIP) but queries to CoreDNS take >5s or get SERVFAIL.
Observations
kube-proxy logs show ipvs controller errors on two Debian workers: 'failed to sync ipvs service' and 'netlink: operation not supported'. ipvsadm on those nodes lists incomplete services. Kernel modules ip_vs and nf_conntrack appear loaded on Ubuntu nodes but missing on problematic Debian nodes. sysctl net.bridge.bridge-nf-call-iptables is 0 on affected nodes.
Already attempted
Restarted kube-proxy daemonset pods — transient improvement for a minute then failures resumed. Re-applied Calico manifests. Tried restarting kubelet and resolvedd on host. Gathered strace of kube-proxy showing failures when creating IPVS rules. Did not reboot nodes yet.
Question
Which node-level kernel features and IPVS prerequisites should be checked and how can I roll back to iptables safely if IPVS cannot be stabilized, without disrupting running workloads?
Verified community troubleshooting
No answers yet..
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags
- Networking28% match
Kubernetes nodes with kube-proxy in IPVS mode cause long-lived TCP connections to stall when conntrack entries exceed kernel limit
Open0 answers - Cloud Computing21% match
Kubernetes pods CrashLoopBackOff only on upgraded nodes with hugepages enabled — short lived OOM at container startup
Open0 answers - Linux20% match
Docker containers lose DNS after host switched to systemd-resolved stub resolver on Ubuntu 22.04
Solved1 answer