Kubernetes Flag: max-endpoints-per-slice Explained

Kubernetes Flag: max-endpoints-per-slice Explained When Kubernetes services scale to hundreds or thousands of pods, managing their network endpoints efficiently becomes critical. This is where EndpointSlices come in. And one of the key tuning knobs for EndpointSlices is the max-endpoints-per-slice flag. What Is max-endpoints-per-slice? By default, Kubernetes groups pod endpoints into EndpointSlices (instead of one big Endpoints object). Each slice holds up to N endpoints (default: 100). The flag --max-endpoints-per-slice defines that maximum number. In simple words: it controls how many pod addresses go into a single EndpointSlice. ...

October 4, 2025 · 2 min · 259 words · John Cena