Merge pull request #116465 from sourcelliu/nodeaffinity
Fix PreFilter logic problem in node affinity
This commit is contained in:
@@ -537,6 +537,11 @@ func TestNodeAffinity(t *testing.T) {
|
||||
Operator: v1.NodeSelectorOpIn,
|
||||
Values: []string{"node1"},
|
||||
},
|
||||
{
|
||||
Key: metav1.ObjectNameField,
|
||||
Operator: v1.NodeSelectorOpIn,
|
||||
Values: []string{"node2"},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user