• Kubernetes Submit Queue's avatar
    Merge pull request #54488 from lichuqiang/plugin_base · 2084f7f4
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Add admission handler for device resources allocation
    
    **What this PR does / why we need it**:
    Add admission handler for device resources allocation to fail fast during pod creation
    
    **Which issue this PR fixes** 
    fixes #51592
    
    **Special notes for your reviewer**:
    @jiayingz Sorry, there is something wrong with my branch in #51895. And I think the existing comments in the PR might be too long for others to view. So I closed it and opened the new one, as we have basically reach an agreement on the implement :)
    I have covered the functionality and unit test part here, and would set about the e2e part ASAP
    
    /cc @jiayingz @vishh @RenaudWasTaken 
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    2084f7f4
Name
Last commit
Last update
..
algorithm Loading commit data...
algorithmprovider Loading commit data...
api Loading commit data...
core Loading commit data...
factory Loading commit data...
metrics Loading commit data...
schedulercache Loading commit data...
testing Loading commit data...
util Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
scheduler.go Loading commit data...
scheduler_test.go Loading commit data...
testutil.go Loading commit data...