kubernetes/plugin/pkg/scheduler/algorithm/predicates
Kubernetes Submit Queue bfb7f3c2a7 Merge pull request #53135 from jsafrane/fix-predicate-counting
Automatic merge from submit-queue (batch tested with PRs 53135, 52512, 48339). 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>.

Fixed counting of unbound PVCs towards limit of attached volumes.

Count unbound PVCs to the limit of attached volumes to a node. 

When MaxPDVolumeCountPredicate is in doubt (e.g. PVC or PV is missing), it assumes the volume is attached. It should assume the same when it encounters an unbound PVC. In any case, it should not return an error, it would stop scheduling all pods with a PVC.

Fixes: #53134

```release-note
NONE
```
2017-10-03 13:08:13 -07:00
..
BUILD Fixed counting of unbound PVCs towards limit of attached volumes. 2017-10-02 15:49:34 +02:00
error.go Add specific errors for pod affinity predicates 2017-09-13 23:47:58 +08:00
metadata_test.go Add pod eviction logic for scheduler preemption 2017-09-07 15:31:55 -07:00
metadata.go Add pod eviction logic for scheduler preemption 2017-09-07 15:31:55 -07:00
predicates_test.go Merge pull request #53135 from jsafrane/fix-predicate-counting 2017-10-03 13:08:13 -07:00
predicates.go Fixed counting of unbound PVCs towards limit of attached volumes. 2017-10-02 15:49:34 +02:00
utils_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
utils.go Cover get equivalence cache in core 2017-08-03 23:03:52 +08:00