Merge pull request #116743 from thockin/docs-clarify-publish-not-ready-endpoints

Clarify EPSlice docs wrt the Ready conditions
This commit is contained in:
Kubernetes Prow Robot
2023-03-21 23:14:35 -07:00
committed by GitHub
7 changed files with 13 additions and 7 deletions

View File

@@ -112,7 +112,9 @@ type EndpointConditions struct {
// according to whatever system is managing the endpoint. A nil value
// indicates an unknown state. In most cases consumers should interpret this
// unknown state as ready. For compatibility reasons, ready should never be
// "true" for terminating endpoints.
// "true" for terminating endpoints, except when the normal readiness
// behavior is being explicitly overridden, for example when the associated
// Service has set the publishNotReadyAddresses flag.
Ready *bool
// serving is identical to ready except that it is set regardless of the