Skip to content

Commit 3477bcb

Browse files
jc2543Chloe Chen
andauthored
backport acn pipeline stability fix (#2833)
Fix ACN PR Pipeline failures related to swiftv2 (#2826) fix stability of pr pipeline Co-authored-by: Chloe Chen <[email protected]>
1 parent 75ccf3b commit 3477bcb

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

.pipelines/multitenancy/swiftv2-e2e-step-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ steps:
3434
kubectl get po -owide -A
3535
echo "Apply the pod network yaml to start the delegation"
3636
less test/integration/manifests/swiftv2/podnetwork.yaml
37-
envsubst '${SUBNET_TOKEN},${SUBNET_GUID},${SUBNET_RESOURCE_ID},${VNET_GUID}' < test/integration/manifests/swiftv2/podnetwork.yaml | kubectl apply -f -
37+
envsubst '${SUBNET_TOKEN},${SUBNET_RESOURCE_ID},${VNET_GUID}' < test/integration/manifests/swiftv2/podnetwork.yaml | kubectl apply -f -
3838
echo "Check the podnetwork yaml file"
3939
less test/integration/manifests/swiftv2/podnetwork.yaml
4040
kubectl get pn

.pipelines/pipeline.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ stages:
525525
clusterType: swiftv2-multitenancy-cluster-up
526526
clusterName: "mtacluster"
527527
nodePoolName: "mtapool"
528-
vmSize: Standard_D4_v2
528+
vmSize: $(SWIFTV2_MT_CLUSTER_SKU)
529529
dependsOn: "test"
530530
dummyClusterName: "swiftv2dummy"
531531
dummyClusterType: "swiftv2-dummy-cluster-up"

hack/aks/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ swiftv2-multitenancy-cluster-up: rg-up
239239
--network-plugin-mode overlay \
240240
--kubernetes-version 1.28 \
241241
--nodepool-name "mtapool" \
242-
--node-vm-size Standard_D4_v2 \
242+
--node-vm-size $(VM_SIZE) \
243243
--node-count 2 \
244244
--nodepool-tags fastpathenabled=true \
245245
--no-ssh-key \

test/integration/manifests/swiftv2/podnetwork.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ metadata:
55
kubernetes.azure.com/override-subnet-token: $SUBNET_TOKEN
66
name: aksswiftvnetv20425
77
spec:
8-
subnetGUID: $SUBNET_GUID
98
subnetResourceID: $SUBNET_RESOURCE_ID
109
vnetGUID: $VNET_GUID

0 commit comments

Comments
 (0)