In this article
Publish peer addresses for bootstrap only through consumers that understand pre-readiness, and verify user traffic separately.
Distributed model workers wait for their peers’ DNS names before reporting ready. DNS withholds those addresses until readiness, creating a bootstrap cycle. Publishing not-ready addresses can solve peer discovery, but the same setting can expose unready workers if a user-traffic consumer treats the Service as a normal ready backend list.
Draw the bootstrap dependency
Identify which peer records each worker needs and why readiness depends on them. Verify that the governing Service and Pod naming are correct before changing publication. A missing selector or wrong serviceName is a different failure. The discovery question is whether a peer exists at an address, not whether it already accepts ordinary inference traffic.
Understand the publication switch
publishNotReadyAddresses changes how the Service publishes endpoints for consumers that need discovery before readiness. EndpointSlice ready behavior has a documented exception under this setting. Do not interpret that field as independent proof that model initialization completed. The application still needs its own peer protocol and eligibility checks.
Separate discovery from inference traffic
A dedicated peer-discovery Service can have different publication semantics from a user-facing inference Service. Define the intended consumers and ports for each. Merely giving the Services different names is insufficient if the ingress still uses the discovery endpoint list. Check the actual route and client behavior, including direct Pod connections.
Keep peer connections bounded
An address can resolve before the process listens or before it finishes its distributed handshake. Workers need bounded retries and a clear failure state. Do not replace a DNS cycle with endless connections to peers that never become usable. Preserve the distinction between name discovery, transport connection and successful model-group initialization.
Verify both audiences
In an isolated cluster fixture, delay one worker’s readiness and confirm peers can discover it under the intended rule. Simultaneously verify that ordinary inference traffic stays with ready replicas through its own route. Test a failed peer rather than only delayed success. Acceptance means bootstrap can progress without weakening the user route’s readiness boundary. It does not guarantee distributed-model recovery after any worker failure or validate every topology-specific communication requirement.
Primary references
Related reading: Slow DNS in a Pod: search domains and ndots; Startup, readiness and liveness for a slow-loading model server.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.