What are EndpointSlices and why replaced Endpoints?
IntermediateConceptServices, Networking, Ingress & Gateway API
Answer
A single Endpoints object listing every Pod IP became huge and was resent in full on every change. EndpointSlices shard endpoints (100 per slice by default) with per-endpoint conditions (ready, serving, terminating) and topology hints, drastically reducing API and kube-proxy load in big Services.