apiserver/pkg/endpoints
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
..
deprecation apiserver: add warnings for deprecated APIs 2020-04-14 16:11:21 -04:00
discovery switch over k/k to use klog v2 2020-04-17 15:25:06 -04:00
filterlatency Measure how much time a request spends in server filter(s): 2020-10-13 18:05:44 -04:00
filters apiserver: plumb context with request deadline 2020-11-26 23:53:20 -05:00
handlers apiserver: plumb context with request deadline 2020-11-26 23:53:20 -05:00
metrics stops puting a stacktrace of aborted requests in the logs 2020-09-24 10:07:24 +02:00
openapi apiserver: fix openapi extension types to be JSON 2019-02-07 15:34:42 +01:00
request staging\src\k8s.io\apiserver\pkg\endpoints:migrate to structured logs 2021-01-15 15:23:55 +08:00
testing Not rely on default conversions in apiserver test 2020-02-11 14:53:17 +01:00
warning apiserver: add API server plumbing for adding warnings 2020-04-14 16:10:54 -04:00
apiserver_test.go apiserver: plumb context with request deadline 2020-11-26 23:53:20 -05:00
audit_test.go updates audit endpoints test 2018-11-01 15:56:50 -06:00
doc.go Mechanical fixup imports: pkg/genericapiserver 2017-02-13 07:36:41 -05:00
groupversion.go Collect storage versions as ResourceInfo when installing API endpoints. 2020-02-24 15:35:14 -08:00
installer.go finish removal of exportoptions 2021-01-22 09:21:56 -05:00
installer_test.go fix kube-apiserver panic when CRD Kind contains only one letter 2020-06-06 23:01:35 +08:00
patchhandler_test.go Stop setting SelfLink in kube-apiserver. 2019-07-26 15:48:37 +02:00
watch_test.go test(endpoints): deflake TestWatchHTTPTimeout 2020-08-12 01:58:07 +08:00