mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue the observed usage should match those that have hard constraints in the sync process, the quota will be replenished, the new observed usage will be sumed from each evaluator, if the previousUsed set is not be cleared, the new usage will be dirty, maybe some unusage resource still in , as the code below newUsage = quota.Mask(newUsage, matchedResources) for key, value := range newUsage { usage.Status.Used[key] = value } so i think here shoul not set value previousUsed <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29653) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
doc.go | ||
replenishment_controller.go | ||
replenishment_controller_test.go | ||
resource_quota_controller.go | ||
resource_quota_controller_test.go |