• Kubernetes Submit Queue's avatar
    Merge pull request #37667 from… · 4829dcf7
    Kubernetes Submit Queue authored
    Merge pull request #37667 from bruceauyeung/k8s-branch-eliminate-duplicated-codes-in-estimateContainer-method
    
    Automatic merge from submit-queue
    
    eliminate duplicated codes in estimateContainer method
    
    **What this PR does / why we need it**:
    there are two code snippets about when to estimate resource for cpu and mem are duplicated, i extracted them into method `getEstimationIfNeeded` method
    Signed-off-by: 's avatarbruceauyeung <ouyang.qinhua@zte.com.cn>
    4829dcf7
Name
Last commit
Last update
..
admission Loading commit data...
auth Loading commit data...
client/auth Loading commit data...
scheduler Loading commit data...
webhook Loading commit data...