diff --git a/test/integration/scheduler_perf/config/pod-with-preferred-topology-spreading.yaml b/test/integration/scheduler_perf/config/pod-with-preferred-topology-spreading.yaml index 39a171f393a..5fbc23e2697 100644 --- a/test/integration/scheduler_perf/config/pod-with-preferred-topology-spreading.yaml +++ b/test/integration/scheduler_perf/config/pod-with-preferred-topology-spreading.yaml @@ -2,11 +2,16 @@ apiVersion: v1 kind: Pod metadata: generateName: spreading-pod- + labels: + color: blue spec: topologySpreadConstraints: - maxSkew: 5 topologyKey: topology.kubernetes.io/zone whenUnsatisfiable: ScheduleAnyway + labelSelector: + matchLabels: + color: blue containers: - image: k8s.gcr.io/pause:3.2 name: pause diff --git a/test/integration/scheduler_perf/config/pod-with-topology-spreading.yaml b/test/integration/scheduler_perf/config/pod-with-topology-spreading.yaml index cb3769675ed..8175b555521 100644 --- a/test/integration/scheduler_perf/config/pod-with-topology-spreading.yaml +++ b/test/integration/scheduler_perf/config/pod-with-topology-spreading.yaml @@ -2,11 +2,16 @@ apiVersion: v1 kind: Pod metadata: generateName: spreading-pod- + labels: + color: blue spec: topologySpreadConstraints: - maxSkew: 5 topologyKey: topology.kubernetes.io/zone whenUnsatisfiable: DoNotSchedule + labelSelector: + matchLabels: + color: blue containers: - image: k8s.gcr.io/pause:3.2 name: pause