apiserver/pkg/server/filters
Andrew Sy Kim f00505bddc priority & fairness: support dynamically configuring work estimator max seats
Max seats from prioriy & fairness work estimator is now min(0.15 x
nominalCL, nominalCL/handSize)

'Max seats' calculated by work estimator is currently hard coded to 10.
When using lower values for --max-requests-inflight, a single
LIST request taking up 10 seats could end up using all if not most seats in
the priority level. This change updates the default work estimator
config such that 'max seats' is at most 10% of the
maximum concurrency limit for a priority level, with an upper limit of 10.
This ensures seats taken from LIST request is proportional to the total
available seats.

Signed-off-by: Andrew Sy Kim <andrewsy@google.com>

Kubernetes-commit: d3ef2d4fe95c3ef7b1c606ad01be1183659da391
2023-04-26 11:13:14 +00:00
..
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
content_type.go add a content-type filter to apiserver filters to autoset nosniff 2019-01-04 14:06:46 -08:00
content_type_test.go add a content-type filter to apiserver filters to autoset nosniff 2019-01-04 14:06:46 -08:00
cors.go apiserver: refactor cors filter 2022-11-03 09:29:47 -04:00
cors_test.go apiserver: CVE-2022-1996, validate cors-allowed-origins server option 2023-01-20 13:54:02 -05:00
doc.go move genericapiserver/server/filters to apiserver 2017-01-27 14:15:18 -05:00
goaway.go fix S1008 simplify bool returns 2020-06-26 10:39:16 -05:00
goaway_test.go remove unused variable responseBodySize 2021-11-16 22:49:22 +01:00
hsts.go Fix HSTS Missing From HTTPS Server(Nessus Scanner) 2020-11-12 16:10:58 +08:00
longrunning.go Do not time-out profiler requests. 2018-01-02 14:42:01 +01:00
maxinflight.go Refactor APF handler in preparation for dynamic retryAfter 2023-04-18 20:34:25 +02:00
maxinflight_test.go Generate and format files 2022-07-19 20:54:13 -04:00
priority-and-fairness.go APF: Dynamically compute retry-after based on history 2023-04-20 10:18:48 +02:00
priority-and-fairness_test.go priority & fairness: support dynamically configuring work estimator max seats 2023-04-26 11:13:14 +00:00
timeout.go do not print status stack in case of timeout from timeout handler 2022-09-10 10:13:11 +00:00
timeout_test.go Ensure timeout test handlers don't complete before timing out. 2023-06-07 12:48:33 -04:00
waitgroup.go apiserver: refactor WithWaitGroup handler 2023-01-10 15:55:19 -05:00
watch_termination.go apiserver: terminate watch with a rate limiter during shutdown 2023-01-13 18:04:13 -05:00
watch_termination_test.go apiserver: terminate watch with a rate limiter during shutdown 2023-01-13 18:04:13 -05:00
with_retry_after.go Revert "Merge pull request #104281 from tkashem/not-ready-429" 2021-08-31 10:10:46 -04:00
with_retry_after_test.go Revert "Merge pull request #104281 from tkashem/not-ready-429" 2021-08-31 10:10:46 -04:00
wrap.go logging: fix names of keys 2023-01-16 15:04:01 +01:00