Change trivial topology labels

In these cases the actual label key is incidental.
This commit is contained in:
Tim Hockin
2020-11-06 08:32:34 -08:00
parent 6c1a9bf177
commit 4068402459
10 changed files with 35 additions and 35 deletions

View File

@@ -181,7 +181,7 @@ func TestTaintBasedEvictions(t *testing.T) {
nodes = append(nodes, &v1.Node{
ObjectMeta: metav1.ObjectMeta{
Name: fmt.Sprintf("node-%d", i),
Labels: map[string]string{v1.LabelFailureDomainBetaRegion: "region1", v1.LabelFailureDomainBetaZone: "zone1"},
Labels: map[string]string{v1.LabelTopologyRegion: "region1", v1.LabelTopologyZone: "zone1"},
},
Spec: v1.NodeSpec{},
Status: v1.NodeStatus{