Skip to content

Commit 2ec0bfa

Browse files
authored
backport: ci: increase goldpinger replicas from 4 to 8 and add topology 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
1 parent 3f40aed commit 2ec0bfa

File tree

4 files changed

+28
-3
lines changed

4 files changed

+28
-3
lines changed

hack/aks/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,8 @@ dualstack-overlay-byocni-up: rg-up overlay-net-up ## Brings up an dualstack Over
383383
--ip-families ipv4,ipv6 \
384384
--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AzureOverlayDualStackPreview \
385385
--no-ssh-key \
386+
--tier premium \
387+
--k8s-support-plan AKSLongTermSupport \
386388
--yes
387389
@$(MAKE) set-kubeconf
388390

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

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)