How does a Service find its pods?
AdvancedConceptKubernetes
Answer
Through its label selector. The EndpointSlice controller tracks the IPs of Ready pods that match, and kube-proxy (iptables or IPVS) or an eBPF data plane routes the ClusterIP to them.