Skip to content

Commit 0846add

Browse files
QxBytessivakami
authored andcommitted
ci: increase goldpinger replicas from 4 to 8 and add topology constraints (#3376)
* increase datapath test goldpinger replicas from 4 to 8 * try topology constraints to balance
1 parent 0a5535a commit 0846add

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

test/integration/manifests/datapath/linux-deployment-ipv6.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: goldpinger-deploy
55
namespace: linux-datapath-test
66
spec:
7-
replicas: 4
7+
replicas: 8
88
selector:
99
matchLabels:
1010
app: goldpinger
@@ -86,3 +86,10 @@ spec:
8686
periodSeconds: 5
8787
nodeSelector:
8888
kubernetes.io/os: linux
89+
topologySpreadConstraints:
90+
- maxSkew: 1
91+
topologyKey: kubernetes.io/hostname
92+
whenUnsatisfiable: ScheduleAnyway
93+
labelSelector:
94+
matchLabels:
95+
app: "goldpinger"

test/integration/manifests/datapath/linux-deployment.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: goldpinger-deploy
55
namespace: linux-datapath-test
66
spec:
7-
replicas: 4
7+
replicas: 8
88
selector:
99
matchLabels:
1010
app: goldpinger
@@ -84,3 +84,10 @@ spec:
8484
periodSeconds: 5
8585
nodeSelector:
8686
kubernetes.io/os: linux
87+
topologySpreadConstraints:
88+
- maxSkew: 1
89+
topologyKey: kubernetes.io/hostname
90+
whenUnsatisfiable: ScheduleAnyway
91+
labelSelector:
92+
matchLabels:
93+
app: "goldpinger"

test/integration/manifests/datapath/windows-deployment.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: windows-pod
55
namespace: datapath-win
66
spec:
7-
replicas: 4
7+
replicas: 8
88
selector:
99
matchLabels:
1010
app: datapod
@@ -20,3 +20,10 @@ spec:
2020
args: ["sleep", "5000"]
2121
nodeSelector:
2222
kubernetes.io/os: windows
23+
topologySpreadConstraints:
24+
- maxSkew: 1
25+
topologyKey: kubernetes.io/hostname
26+
whenUnsatisfiable: ScheduleAnyway
27+
labelSelector:
28+
matchLabels:
29+
app: "datapod"

0 commit comments

Comments
 (0)