Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DRA cel: enforce runtime limit by default again
As pointed out during code review, the CEL cost estimates are not considered perfectly reliable. Therefore it is better to also do runtime checks. Some downstream users might decide to allow CEL expressions to run longer. Therefore the cost limit is now part of an Options struct. kube-scheduler uses the default cost limit defined in the resource.k8s.io API, which is the same cost limit that also the apiserver uses during validation. Kubernetes-commit: d53cb79cec11094099205a8c114a416b430a6c2c
- Loading branch information