bored-whale-38505
06/27/2025, 6:27 AMhostNetwork: true
→ caused port 8080 conflicts
• Verified CoreDNS is listening and logs no fatal errors
• Confirmed Ingress controller and CoreDNS fail to resolve cluster service names
• Verified k3s API server cert SANs are correct (public IP and internal IPs)
• API server is accessible via public IP and NodePort, but not via ClusterIP (10.43.0.10
)
🙏 What I'm Looking For
• How to fix DNS resolution for *.svc.cluster.local
in this k3s setup without a reinstall
• Any way to safely reset or reconfigure Flannel/CNI to restore service IP routing
• Advice on diagnosing why CoreDNS can't access the API server over 10.43.0.10
Thanks in advance for any help!rich-dream-58859
06/27/2025, 4:05 PMrich-dream-58859
06/27/2025, 4:37 PMcat /run/flannel/subnet.env
FLANNEL_NETWORK=10.42.0.0/16
FLANNEL_SUBNET=10.42.2.1/24
FLANNEL_MTU=1450
FLANNEL_IPMASQ=true
and a pod running on the node:
cat /etc/resolv.conf
search mynamespace.svc.cluster.local svc.cluster.local cluster.local
nameserver 10.43.0.10
options ndots:5
rich-dream-58859
06/27/2025, 4:37 PM10.43.0.10
doesn't seem to be assigned/allocated to anythingrich-dream-58859
06/27/2025, 4:42 PMiptables -L | grep 10.43
RETURN all -- anywhere 10.43.0.0/16 /* allow traffic to primary/secondary cluster IP range - EKROEGTNIJ3AP3LC */
REJECT tcp -- anywhere 10.43.168.0 /* default/nginx has no endpoints */ tcp dpt:http reject-with icmp-port-unreachable