Skip to content

Commit 81dd271

Browse files
authored
Merge pull request #4962 from nojnhuh/aks-test-sku
Use Standard tier SKU for AKS e2e tests
2 parents 5493e53 + 97869ed commit 81dd271

File tree

9 files changed

+33
-1
lines changed

9 files changed

+33
-1
lines changed

hack/util.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ capz::util::should_build_ccm() {
6363

6464
# all test regions must support AvailabilityZones
6565
capz::util::get_random_region() {
66-
local REGIONS=("canadacentral" "eastus" "eastus2" "northeurope" "uksouth" "westus2" "westus3")
66+
local REGIONS=("canadacentral" "eastus" "eastus2" "northeurope" "uksouth" "westeurope" "westus2" "westus3")
6767
echo "${REGIONS[${RANDOM} % ${#REGIONS[@]}]}"
6868
}
6969
# all regions below must have GPU availability for the chosen GPU VM SKU

templates/test/ci/cluster-template-prow-aks-aso.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/ci/cluster-template-prow-aks-clusterclass.yaml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/ci/cluster-template-prow-aks.yaml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/ci/prow-aks-aso/kustomization.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ patches:
2828
jobName: ${JOB_NAME}
2929
creationTimestamp: ${TIMESTAMP}
3030
buildProvenance: ${BUILD_PROVENANCE}
31+
- op: replace
32+
path: /spec/resources/0/spec/sku
33+
value:
34+
name: Base
35+
tier: Standard
3136
target:
3237
kind: AzureASOManagedControlPlane
3338
- patch: |-

templates/test/ci/prow-aks-clusterclass/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ patches:
1212
- path: patches/addons.yaml
1313
- path: patches/kubeadm-config-template.yaml
1414
- path: patches.yaml
15+
- path: patches/sku.yaml
1516

1617
sortOptions:
1718
order: fifo
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
2+
kind: AzureManagedControlPlaneTemplate
3+
metadata:
4+
name: ${CLUSTER_NAME}-control-plane
5+
namespace: default
6+
spec:
7+
template:
8+
spec:
9+
sku:
10+
tier: Standard

templates/test/ci/prow-aks/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ patches:
99
- path: patches/aks-pool0.yaml
1010
- path: patches/aks-pool1.yaml
1111
- path: patches/addons.yaml
12+
- path: patches/sku.yaml
1213

1314
sortOptions:
1415
order: fifo
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
2+
kind: AzureManagedControlPlane
3+
metadata:
4+
name: ${CLUSTER_NAME}
5+
namespace: default
6+
spec:
7+
sku:
8+
tier: Standard

0 commit comments

Comments
 (0)