Skip to content

Commit

Permalink
backport: ci: increase goldpinger replicas from 4 to 8 and add topolo…
Browse files Browse the repository at this point in the history
…gy constraints (#3380)

* increase datapath test goldpinger replicas from 4 to 8

* try topology constraints to balance

* enable lts support for 1.28 on dualstack clusters
  • Loading branch information
QxBytes authored Feb 3, 2025
1 parent 3f40aed commit 2ec0bfa
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
4 changes: 4 additions & 0 deletions hack/aks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ dualstack-overlay-byocni-up: rg-up overlay-net-up ## Brings up an dualstack Over
--ip-families ipv4,ipv6 \
--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AzureOverlayDualStackPreview \
--no-ssh-key \
--tier premium \
--k8s-support-plan AKSLongTermSupport \
--yes
@$(MAKE) set-kubeconf

Expand Down Expand Up @@ -417,6 +419,8 @@ dualstack-byocni-nokubeproxy-up: rg-up overlay-net-up ## Brings up a Dualstack o
--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AzureOverlayDualStackPreview \
--no-ssh-key \
--kube-proxy-config ./kube-proxy.json \
--tier premium \
--k8s-support-plan AKSLongTermSupport \
--yes
@$(MAKE) set-kubeconf

Expand Down
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 2ec0bfa

Please sign in to comment.