Running node selector predicate on kubelet.
Added checking on kubelet if scheduled pods have matching node selector. This is the last step to fix #5207.
This commit is contained in:
@@ -78,6 +78,7 @@ func TestRunOnce(t *testing.T) {
|
||||
recorder: &record.FakeRecorder{},
|
||||
cadvisor: cadvisor,
|
||||
podStatuses: make(map[string]api.PodStatus),
|
||||
nodeLister: testNodeLister{},
|
||||
}
|
||||
|
||||
kb.networkPlugin, _ = network.InitNetworkPlugin([]network.NetworkPlugin{}, "", network.NewFakeHost(nil))
|
||||
|
Reference in New Issue
Block a user