apiserver/pkg
Lukasz Szaszkiewicz 49d90ce0ad DelegatingAuthenticationOptions TokenReview request timeout
it turns out that setting a timeout on HTTP client affect watch requests made by the delegated authentication component.
with a 10 second timeout watch requests are being re-established exactly after 10 seconds even though the default request timeout for them is ~5 minutes.

this is because if multiple timeouts were set, the stdlib picks the smaller timeout to be applied, leaving other useless.
for more details see a937729c2c/src/net/http/client.go (L364)

instead of setting a timeout on the HTTP client we should use context for cancellation.

Kubernetes-commit: d690d71d27c78f2f7981b286f5b584455ff30246
2021-04-09 13:20:51 +02:00
..
admission webhook config manager: HasSynced returns true when the manager is synced with existing webhookconfig objects at startup 2021-03-17 14:34:06 -07:00
apis apf: exempt probes /healthz /livez /readyz 2021-03-30 12:55:30 -04:00
audit apiserver: manage audit ID associated with a request 2021-03-02 19:22:39 -05:00
authentication DelegatingAuthenticationOptions TokenReview request timeout 2021-04-09 13:20:51 +02:00
authorization Update auth OWNERS files to only use aliases 2021-04-07 10:42:00 -04:00
endpoints Chain the field manager creation calls in newDefaultFieldManager and test 2021-04-13 16:15:25 +00:00
features Revert SSA GA 2021-03-10 18:04:40 -08:00
quota/v1 Fixed several spelling mistakes 2021-03-30 15:28:23 +02:00
registry Server-Side Apply: Status Wiping/Reset Fields 2021-03-09 23:54:55 +00:00
server DelegatingAuthenticationOptions TokenReview request timeout 2021-04-09 13:20:51 +02:00
storage bump the deprecated version to 1.22 2021-03-29 07:54:12 -07:00
storageversion provide directly decodable versions for storageversion API 2021-03-08 09:33:46 -05:00
util apf: fix test flake 2021-03-29 16:09:49 -04:00
warning apiserver: add API server plumbing for adding warnings 2020-04-14 16:10:54 -04:00