Skip to content

Commit a44e0ff

Browse files
committed
address feedback
1 parent 5299b2f commit a44e0ff

File tree

4 files changed

+13
-18
lines changed

4 files changed

+13
-18
lines changed

.pipelines/pipeline.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ stages:
286286
name: "linux_azure_overlay_e2e"
287287
displayName: Azure Overlay Linux
288288
os: linux
289-
clusterType: linux-overlay-byocni-up
289+
clusterType: overlay-byocni-up
290290
clusterName: "linuxazovere2e"
291291
vmSize: Standard_B2ms
292292
k8sVersion: ""
@@ -298,7 +298,7 @@ stages:
298298
name: "win_azure_overlay_e2e"
299299
displayName: Azure Overlay Windows
300300
os: windows
301-
clusterType: windows-overlay-byocni-up
301+
clusterType: overlay-byocni-up
302302
clusterName: "winazovere2e"
303303
vmSize: Standard_B2ms
304304
k8sVersion: ""
@@ -373,7 +373,7 @@ stages:
373373
name: "linux_dualstackoverlay_e2e"
374374
displayName: AKS DualStack Overlay Linux
375375
os: linux
376-
clusterType: linux-dualstack-overlay-byocni-up
376+
clusterType: dualstack-overlay-byocni-up
377377
clusterName: "linuxdsovere2e"
378378
vmSize: Standard_B2ms
379379
dependsOn: "containerize"
@@ -384,7 +384,7 @@ stages:
384384
name: "win_dualstackoverlay_e2e"
385385
displayName: AKS DualStack Overlay Windows
386386
os: windows
387-
clusterType: windows-dualstack-overlay-byocni-up
387+
clusterType: dualstack-overlay-byocni-up
388388
clusterName: "windsovere2e"
389389
vmSize: Standard_B2ms
390390
dependsOn: "containerize"

.pipelines/singletenancy/azure-cni-overlay/azure-cni-overlay-e2e-job-template.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ parameters:
77
k8sVersion: ""
88
dependsOn: ""
99
scaleup: ""
10+
os: ""
1011

1112
stages:
1213
- stage: ${{ parameters.clusterName }}
@@ -29,6 +30,7 @@ stages:
2930
vmSizeWin: ${{ parameters.vmSize }}
3031
k8sVersion: ${{ parameters.k8sVersion }}
3132
dependsOn: ${{ parameters.dependsOn }}
33+
os: ${{ parameters.os }}
3234
region: $(REGION_AKS_CLUSTER_TEST)
3335

3436
- stage: ${{ parameters.name }}

.pipelines/singletenancy/dualstack-overlay/dualstackoverlay-e2e-job-template.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ stages:
3030
vmSizeWin: ${{ parameters.vmSize }}
3131
k8sVersion: ${{ parameters.k8sVersion }}
3232
dependsOn: ${{ parameters.dependsOn }}
33+
os: ${{ parameters.os }}
3334
region: $(REGION_DUALSTACKOVERLAY_CLUSTER_TEST) # Dualstack has a specific region requirement
3435

3536
- stage: ${{ parameters.name }}

hack/aks/Makefile

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,7 @@ nodesubnet-byocni-nokubeproxy-up: rg-up overlay-net-up ## Brings up an NodeSubne
114114
--yes
115115
@$(MAKE) set-kubeconf
116116

117-
# alias for linux-overlay-byocni-up
118-
overlay-byocni-up: linux-overlay-byocni-up
119-
120-
linux-overlay-byocni-up: rg-up overlay-net-up ## Brings up a Linux Overlay BYO CNI cluster
117+
overlay-byocni-up: rg-up overlay-net-up ## Brings up a Linux Overlay BYO CNI cluster
121118
$(AZCLI) aks create -n $(CLUSTER) -g $(GROUP) -l $(REGION) \
122119
--auto-upgrade-channel $(AUTOUPGRADE) \
123120
--node-os-upgrade-channel $(NODEUPGRADE) \
@@ -133,11 +130,10 @@ linux-overlay-byocni-up: rg-up overlay-net-up ## Brings up a Linux Overlay BYO C
133130
--os-sku $(OS_SKU) \
134131
--yes
135132
@$(MAKE) set-kubeconf
136-
137-
windows-overlay-byocni-up: linux-overlay-byocni-up rg-up overlay-net-up ## Brings up a Windows Overlay BYO CNI cluster
133+
ifeq ($(OS),windows)
138134
AZCLI="az" GROUP="$(GROUP)" CLUSTER="$(CLUSTER)" sh ../scripts/wait-cluster-update.sh
139135
$(MAKE) windows-nodepool-up
140-
@$(MAKE) set-kubeconf
136+
endif
141137

142138
overlay-byocni-nokubeproxy-up: rg-up overlay-net-up ## Brings up an Overlay BYO CNI cluster without kube-proxy
143139
$(AZCLI) aks create -n $(CLUSTER) -g $(GROUP) -l $(REGION) \
@@ -394,10 +390,7 @@ dualstack-overlay-up: rg-up overlay-net-up ## Brings up an dualstack Overlay clu
394390
--yes
395391
@$(MAKE) set-kubeconf
396392

397-
# alias for linux-dualstack-overlay-byocni-up
398-
dualstack-overlay-byocni-up: linux-dualstack-overlay-byocni-up
399-
400-
linux-dualstack-overlay-byocni-up: rg-up overlay-net-up ## Brings up an dualstack Overlay BYO CNI cluster
393+
dualstack-overlay-byocni-up: rg-up overlay-net-up ## Brings up an dualstack Overlay BYO CNI cluster
401394
$(AZCLI) aks create -n $(CLUSTER) -g $(GROUP) -l $(REGION) \
402395
--auto-upgrade-channel $(AUTOUPGRADE) \
403396
--node-os-upgrade-channel $(NODEUPGRADE) \
@@ -412,11 +405,10 @@ linux-dualstack-overlay-byocni-up: rg-up overlay-net-up ## Brings up an dualstac
412405
--no-ssh-key \
413406
--yes
414407
@$(MAKE) set-kubeconf
415-
416-
windows-dualstack-overlay-byocni-up: linux-dualstack-overlay-byocni-up
408+
ifeq ($(OS),windows)
417409
AZCLI="az" GROUP="$(GROUP)" CLUSTER="$(CLUSTER)" sh ../scripts/wait-cluster-update.sh
418410
$(MAKE) windows-nodepool-up
419-
@$(MAKE) set-kubeconf
411+
endif
420412

421413
cilium-dualstack-up: rg-up overlay-net-up ## Brings up a Cilium Dualstack Overlay cluster with Linux node only
422414
$(AZCLI) aks create -n $(CLUSTER) -g $(GROUP) -l $(REGION) \

0 commit comments

Comments
 (0)