What happens in detail when a Pod calls `curl http://web` for a ClusterIP Service?
AdvancedConceptServices, Networking, Ingress & Gateway API
Answer
The Pod's resolver asks CoreDNS (the kube-dns ClusterIP) which returns the Service ClusterIP; the packet leaves the Pod's veth to the node; iptables/IPVS/eBPF DNATs the ClusterIP to a ready endpoint Pod IP; the CNI routes it to that Pod (same node or across nodes); replies are un-NATed by conntrack so the client sees the ClusterIP.