Skip to content

Commit 5283ae6

Browse files
authored
Merge pull request #4963 from nojnhuh/aks-test-sku
[release-1.15] Use Standard tier SKU for AKS e2e tests
2 parents 1d0c3ae + c59a0a6 commit 5283ae6

File tree

9 files changed

+34
-2
lines changed

9 files changed

+34
-2
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,3 +12,4 @@ patchesStrategicMerge:
1212
- patches/addons.yaml
1313
- patches/kubeadm-config-template.yaml
1414
- patches.yaml
15+
- patches/sku.yaml
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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ patchesStrategicMerge:
88
- ../patches/tags-aks.yaml
99
- patches/aks-pool0.yaml
1010
- patches/aks-pool1.yaml
11-
- patches/addons.yaml
11+
- patches/addons.yaml
12+
- patches/sku.yaml
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)