apiserver/pkg/endpoints/handlers
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
..
fieldmanager staging\src\k8s.io\apiserver\pkg\endpoints:migrate to structured logs 2021-01-15 15:23:55 +08:00
negotiation Optimize NegotiateMediaTypeOptions 2019-10-10 11:49:31 +02:00
responsewriters Add trace to SerializeObject 2021-01-12 09:45:43 +01:00
create.go apiserver: plumb context with request deadline 2020-11-26 23:53:20 -05:00
create_test.go Add "fieldManager" to flag to PATCH/CREATE/UPDATE 2019-02-16 20:16:11 -08:00
delete.go apiserver: plumb context with request deadline 2020-11-26 23:53:20 -05:00
doc.go Mechanical fixup imports: pkg/genericapiserver 2017-02-13 07:36:41 -05:00
get.go finish removal of exportoptions 2021-01-22 09:21:56 -05:00
helpers.go Code optimization for add additional information to log trace in api server 2020-11-23 16:27:05 +08:00
helpers_test.go Code optimization for add additional information to log trace in api server 2020-11-23 16:27:05 +08:00
namer.go Avoid allocations when building SelfLinks and fast path escape 2019-03-25 18:06:57 -04:00
namer_test.go Avoid allocations when building SelfLinks and fast path escape 2019-03-25 18:06:57 -04:00
patch.go apiserver: plumb context with request deadline 2020-11-26 23:53:20 -05:00
response.go Switch TableGenerator/TableConvertor interfaces to metav1 2019-11-26 13:13:25 -05:00
response_test.go Fix transformObject to work with CacheableObject. 2019-08-19 09:55:49 +02:00
rest.go apiserver: plumb context with request deadline 2020-11-26 23:53:20 -05:00
rest_test.go apiserver: plumb context with request deadline 2020-11-26 23:53:20 -05:00
trace_util.go Code optimization for add additional information to log trace in api server 2020-11-23 16:27:05 +08:00
update.go apiserver: plumb context with request deadline 2020-11-26 23:53:20 -05:00
watch.go Switch TableGenerator/TableConvertor interfaces to metav1 2019-11-26 13:13:25 -05:00