mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-07 01:40:23 +00:00
Automatic merge from submit-queue Improve quota controller performance by eliminating unneeded list calls Previously, when syncing quota usage, we asked each registered `Evaluator` to determine the usage it knows to track associated with a `GroupKind` even if that particular `GroupKind` had no associated resources under quota. This fix makes it that when we sync a quota that just had only `Pod` related compute resources, we do not also calculate the usage stats for things like `ConfigMap`, `Secret`, etc. per quota. This should be a significant performance gain when running large numbers of `Namespace`'s each with `ResourceQuota` that tracks a subset of resources. /cc @deads2k @kubernetes/rh-cluster-infra