mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #109122 from jpbetz/runtime-limit-tightening
Reduce CEL runtime cost limits by 1/2 based on latency goals
This commit is contained in:
commit
cbc341575a
@ -44,11 +44,11 @@ const (
|
|||||||
|
|
||||||
// PerCallLimit specify the actual cost limit per CEL validation call
|
// PerCallLimit specify the actual cost limit per CEL validation call
|
||||||
// current PerCallLimit gives roughly 0.1 second for each expression validation call
|
// current PerCallLimit gives roughly 0.1 second for each expression validation call
|
||||||
PerCallLimit = 2000000
|
PerCallLimit = 1000000
|
||||||
|
|
||||||
// RuntimeCELCostBudget is the overall cost budget for runtime CEL validation cost per CustomResource
|
// RuntimeCELCostBudget is the overall cost budget for runtime CEL validation cost per CustomResource
|
||||||
// current RuntimeCELCostBudget gives roughly 1 seconds for CR validation
|
// current RuntimeCELCostBudget gives roughly 1 seconds for CR validation
|
||||||
RuntimeCELCostBudget = 20000000
|
RuntimeCELCostBudget = 10000000
|
||||||
|
|
||||||
// checkFrequency configures the number of iterations within a comprehension to evaluate
|
// checkFrequency configures the number of iterations within a comprehension to evaluate
|
||||||
// before checking whether the function evaluation has been interrupted
|
// before checking whether the function evaluation has been interrupted
|
||||||
|
Loading…
Reference in New Issue
Block a user