mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-11-06 05:17:08 +00:00
grpc.DialContext and WithBlock are deprecated. NewClient does no I/O until the health check runs, so the one probe timeout still covers connect and RPC. The passthrough resolver keeps the address unresolved for the probe dialer, as DialContext did. A refused connection now fails the probe at once with "failed to connect" instead of retrying until the timeout, and a server that never answers reports "health rpc did not complete within" the timeout. Signed-off-by: Davanum Srinivas <davanum@gmail.com>