k3s/pkg
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
..
agent Simplify token parsing 2020-09-27 03:26:24 -07:00
apis/k3s.cattle.io Update generated code 2019-10-30 19:08:26 -07:00
authenticator Fix up authenticator 2020-08-28 17:18:34 -07:00
bootstrap Refactor tokens, bootstrap, and cli args 2019-10-30 19:06:49 -07:00
cli Initial Logging Output Update (#2246) 2020-09-21 09:56:03 -07:00
clientaccess Add timeout to clientaccess http client 2020-09-27 03:26:27 -07:00
cloudprovider Initial Logging Output Update (#2246) 2020-09-21 09:56:03 -07:00
cluster Simplify token parsing 2020-09-27 03:26:24 -07:00
codegen Add support for disabling all staged content 2020-09-14 14:21:37 -07:00
configfilearg All arguments should be of the form --k=v so that bool flags will work 2020-09-03 16:25:35 -07:00
containerd Continued refactoring 2019-01-11 21:52:30 -07:00
ctr Build & enable ctr with k3s server 2019-06-30 09:30:25 -07:00
daemons Rename k3s-controller based on the build-time program name 2020-09-16 10:53:07 -07:00
datadir Make program name a variable to be changed at compile time 2020-06-06 16:39:41 -07:00
deploy Initial Logging Output Update (#2246) 2020-09-21 09:56:03 -07:00
etcd Add a bunch of doc comments 2020-09-27 03:10:00 -07:00
generated Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
kubectl Make kubeconfig not world readable and issue warning with kubectl wrapper 2019-05-09 00:54:52 +02:00
netutil Initial Logging Output Update (#2246) 2020-09-21 09:56:03 -07:00
node Initial Logging Output Update (#2246) 2020-09-21 09:56:03 -07:00
nodeconfig Call setproctitle to conceal node args in ps output 2020-07-28 15:49:49 -07:00
passwd get build on windows and get api_server to work 2020-02-22 23:17:59 -08:00
rootless Fix handling of TLS configuration args 2020-08-18 16:44:10 -07:00
rootlessports Initial Logging Output Update (#2246) 2020-09-21 09:56:03 -07:00
server Initial Logging Output Update (#2246) 2020-09-21 09:56:03 -07:00
servicelb servicelb: fix ineffective toleration 2020-06-11 14:39:12 -07:00
static Add support for disabling all staged content 2020-09-14 14:21:37 -07:00
token Refactor tokens, bootstrap, and cli args 2019-10-30 19:06:49 -07:00
untar Continued refactoring 2019-01-11 21:52:30 -07:00
util fix formatting 2020-02-23 00:48:26 -08:00
version remove hard coded value 2020-07-09 11:20:06 -07:00