kubernetes/pkg/controller/volume/persistentvolume
Kubernetes Submit Queue 71f150422c
Merge pull request #62180 from msau42/binding-predicate
Automatic merge from submit-queue (batch tested with PRs 61918, 62180, 62198). 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>.

Use provided node object in volume binding predicate

**What this PR does / why we need it**:
Autoscaler creates fake node objects, so we should use the provided node object instead of looking up the node from the informer.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #62178

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-04-06 11:56:07 -07:00
..
metrics add number measurement for bound/unbound pv/pvc 2018-02-14 17:31:14 +08:00
options update BUILD files 2017-10-15 18:18:13 -07:00
binder_test.go Pass pod informer to PV controller 2018-02-05 15:40:25 +01:00
BUILD update bazel 2018-02-27 20:23:36 +08:00
delete_test.go Pass pod informer to PV controller 2018-02-05 15:40:25 +01:00
framework_test.go update import 2018-02-27 20:23:35 +08:00
index.go update import 2018-02-27 20:23:35 +08:00
index_test.go update import 2018-02-27 20:23:35 +08:00
OWNERS Update OWNERS approvers and reviewers: pkg/controller 2016-11-02 16:19:18 -07:00
provision_test.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
pv_controller.go pv controller clean code 2018-03-27 20:00:45 +08:00
pv_controller_base.go Use typed events client directly 2018-04-01 18:57:29 +10:00
pv_controller_test.go In findMatchingVolumes: 2017-11-21 21:42:35 -08:00
recycle_test.go Don't recycle PVs that are used by a pod 2018-02-05 16:41:39 +01:00
scheduler_assume_cache.go Index PVs by StorageClass in assume cache 2018-02-15 17:12:32 -08:00
scheduler_assume_cache_test.go Index PVs by StorageClass in assume cache 2018-02-15 17:12:32 -08:00
scheduler_binder.go Use provided node object in volume binding predicate 2018-04-05 14:35:55 -07:00
scheduler_binder_cache.go Cache for pod bindings 2017-11-21 21:42:36 -08:00
scheduler_binder_cache_test.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
scheduler_binder_fake.go Use provided node object in volume binding predicate 2018-04-05 14:35:55 -07:00
scheduler_binder_test.go Use provided node object in volume binding predicate 2018-04-05 14:35:55 -07:00
volume_host.go VolumeHost.GetNodeName method added for CSI fix 2017-12-02 05:54:54 -05:00