diff --git a/test/integration/manifests/datapath/linux-deployment-ipv6.yaml b/test/integration/manifests/datapath/linux-deployment-ipv6.yaml index d7550f6069..68dbe4063d 100644 --- a/test/integration/manifests/datapath/linux-deployment-ipv6.yaml +++ b/test/integration/manifests/datapath/linux-deployment-ipv6.yaml @@ -4,7 +4,7 @@ metadata: name: goldpinger-deploy namespace: linux-datapath-test spec: - replicas: 4 + replicas: 8 selector: matchLabels: app: goldpinger @@ -86,3 +86,10 @@ spec: periodSeconds: 5 nodeSelector: kubernetes.io/os: linux + topologySpreadConstraints: + - maxSkew: 1 + topologyKey: kubernetes.io/hostname + whenUnsatisfiable: ScheduleAnyway + labelSelector: + matchLabels: + app: "goldpinger" diff --git a/test/integration/manifests/datapath/linux-deployment.yaml b/test/integration/manifests/datapath/linux-deployment.yaml index 7963fbb29e..73e75fd077 100644 --- a/test/integration/manifests/datapath/linux-deployment.yaml +++ b/test/integration/manifests/datapath/linux-deployment.yaml @@ -4,7 +4,7 @@ metadata: name: goldpinger-deploy namespace: linux-datapath-test spec: - replicas: 4 + replicas: 8 selector: matchLabels: app: goldpinger @@ -84,3 +84,10 @@ spec: periodSeconds: 5 nodeSelector: kubernetes.io/os: linux + topologySpreadConstraints: + - maxSkew: 1 + topologyKey: kubernetes.io/hostname + whenUnsatisfiable: ScheduleAnyway + labelSelector: + matchLabels: + app: "goldpinger" diff --git a/test/integration/manifests/datapath/windows-deployment.yaml b/test/integration/manifests/datapath/windows-deployment.yaml index e4a5bb36bf..c17874d066 100644 --- a/test/integration/manifests/datapath/windows-deployment.yaml +++ b/test/integration/manifests/datapath/windows-deployment.yaml @@ -4,7 +4,7 @@ metadata: name: windows-pod namespace: datapath-win spec: - replicas: 4 + replicas: 8 selector: matchLabels: app: datapod @@ -20,3 +20,10 @@ spec: args: ["sleep", "5000"] nodeSelector: kubernetes.io/os: windows + topologySpreadConstraints: + - maxSkew: 1 + topologyKey: kubernetes.io/hostname + whenUnsatisfiable: ScheduleAnyway + labelSelector: + matchLabels: + app: "datapod"