• Kubernetes Submit Queue's avatar
    Merge pull request #28991 from ZTE-PaaS/zhangke-patch-008 · e84a8ec4
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    optimize conditions of ServiceReplenishmentUpdateFunc to replenish service
    
    Originally, the  replenishQuota method didn't focus on the third parameter object even if others transfered to it, i think the function is not efficient and perfect. then i use the third param to get MatchResources, it will be more exact. for example, if the old pod was quota tracked and the new was not, the replenishQuota only focus on usage resource of the old pod, still if  the third parameter object is nil, the process will be same as before
    e84a8ec4
Name
Last commit
Last update
..
evaluator/core Loading commit data...
generic Loading commit data...
install Loading commit data...
OWNERS Loading commit data...
interfaces.go Loading commit data...
resources.go Loading commit data...
resources_test.go Loading commit data...