Skip to content

Commit

Permalink
ci: increase goldpinger replicas from 4 to 8 and add topology constra…
Browse files Browse the repository at this point in the history
…ints (#3376)

* increase datapath test goldpinger replicas from 4 to 8

* try topology constraints to balance
  • Loading branch information
QxBytes authored Jan 31, 2025
1 parent c670d53 commit 711bceb
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: goldpinger-deploy
namespace: linux-datapath-test
spec:
replicas: 4
replicas: 8
selector:
matchLabels:
app: goldpinger
Expand Down Expand Up @@ -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"
9 changes: 8 additions & 1 deletion test/integration/manifests/datapath/linux-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: goldpinger-deploy
namespace: linux-datapath-test
spec:
replicas: 4
replicas: 8
selector:
matchLabels:
app: goldpinger
Expand Down Expand Up @@ -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"
9 changes: 8 additions & 1 deletion test/integration/manifests/datapath/windows-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: windows-pod
namespace: datapath-win
spec:
replicas: 4
replicas: 8
selector:
matchLabels:
app: datapod
Expand All @@ -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"

0 comments on commit 711bceb

Please sign in to comment.