apiserver/pkg/endpoints/filters
Abu Kashem 026eb846a4 apiserver: plumb context with request deadline
- as soon as a request is received by the apiserver, determine the
  timeout of the request and set a new request context with the deadline.
- the timeout filter that times out non-long-running requests should
  use the request context as opposed to a fixed 60s wait today.
- admission and storage layer uses the same request context with the
  deadline specified.

we use the default timeout enforced by the apiserver:
- if the user has specified a timeout of 0s, this implies no timeout on the user's part.
- if the user has specified a timeout that exceeds the maximum deadline allowed by the apiserver.

Kubernetes-commit: e416c9e574c49fd0190c8cdac58322aa33a935cf
2020-11-26 23:53:20 -05:00
..
OWNERS Updated OWNERS files to include link to docs 2019-01-30 20:05:00 +01:00
audit.go Take into account latency incurred in server filters 2020-09-18 16:46:07 -04:00
audit_annotations.go Allow handlers early in the request chain to set audit annotations 2020-03-19 20:02:37 -04:00
audit_test.go migrate callers to g/g/uuid 2019-11-04 23:15:20 -08:00
authentication.go staging\src\k8s.io\apiserver\pkg\endpoints:migrate to structured logs 2021-01-15 15:23:55 +08:00
authentication_test.go Verify the response audience matches one of apiAuds 2019-09-13 06:41:23 -07:00
authn_audit.go Remove request context mapper 2018-04-18 11:12:15 -04:00
authn_audit_test.go Update usages of http.ResponseWriter.WriteHeader to use http.Error 2018-10-08 22:20:52 +03:00
authorization.go staging\src\k8s.io\apiserver\pkg\endpoints:migrate to structured logs 2021-01-15 15:23:55 +08:00
authorization_test.go Propagate context to Authorize() calls 2019-09-24 10:06:32 -04:00
cachecontrol.go add cache-control headers to kube-apiserver 2019-08-26 09:39:29 -04:00
cachecontrol_test.go add cache-control headers to kube-apiserver 2019-08-26 09:39:29 -04:00
doc.go Mechanical fixup imports: pkg/genericapiserver 2017-02-13 07:36:41 -05:00
impersonation.go staging\src\k8s.io\apiserver\pkg\endpoints:migrate to structured logs 2021-01-15 15:23:55 +08:00
impersonation_test.go Add impersonated user to system:authenticated group 2020-08-21 13:15:04 -04:00
metrics.go Factor-out metrics related logic from authentication logic. 2020-01-28 15:53:25 -08:00
metrics_test.go Factor-out metrics related logic from authentication logic. 2020-01-28 15:53:25 -08:00
request_deadline.go apiserver: plumb context with request deadline 2020-11-26 23:53:20 -05:00
request_deadline_test.go apiserver: plumb context with request deadline 2020-11-26 23:53:20 -05:00
request_received_time.go Take into account latency incurred in server filters 2020-09-18 16:46:07 -04:00
request_received_time_test.go Take into account latency incurred in server filters 2020-09-18 16:46:07 -04:00
requestinfo.go Remove request context mapper 2018-04-18 11:12:15 -04:00
requestinfo_test.go Mechanical move: pkg/genericapiserver -> k8s.io/apiserver 2017-02-13 07:36:41 -05:00
storageversion.go fixup! unblock resources that the storage version manager depends on 2020-11-12 16:37:17 -08:00
warning.go Add warnings capability for admission webhooks 2020-06-30 16:27:56 -04:00
warning_test.go Add warnings capability for admission webhooks 2020-06-30 16:27:56 -04:00