kubernetes/plugin/pkg/scheduler/schedulercache
Kubernetes Submit Queue 2084f7f4f3
Merge pull request #54488 from lichuqiang/plugin_base
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
```
2017-11-02 17:24:06 -07:00
..
BUILD Autogenerated files 2017-10-20 23:22:03 -07:00
cache_test.go delete the hostport from usedmap 2017-10-25 15:49:18 +08:00
cache.go Add PodDisruptionBudget to scheduler cache. 2017-10-20 23:22:02 -07:00
interface.go Add PodDisruptionBudget to scheduler cache. 2017-10-20 23:22:02 -07:00
node_info.go Merge pull request #54488 from lichuqiang/plugin_base 2017-11-02 17:24:06 -07:00
util.go Add preemption victim selector logic to scheduler 2017-08-30 10:32:09 -07:00