k3s/pkg/clientaccess
Brad Davidson 360b0f1ee5 Add timeout to clientaccess http client
The default http client does not have an overall request timeout, so
connections to misbehaving or unavailable servers can stall for an
excessive amount of time. At the moment, just attempting to join
an unavailable cluster takes 2 minutes and 40 seconds to timeout.

Resolve that by setting a reasonable request timeout.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-09-27 03:26:27 -07:00
..
kubeconfig.go Split clientaccess token/kubeconfig code 2020-09-27 03:26:27 -07:00
token.go Add timeout to clientaccess http client 2020-09-27 03:26:27 -07:00