Skip to content

Commit

Permalink
revert SKU to Standard_D2s_v3
Browse files Browse the repository at this point in the history
  • Loading branch information
nojnhuh committed Jul 29, 2024
1 parent 2ffb530 commit 9bedf08
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions templates/test/ci/cluster-template-prow-aks-aso.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions templates/test/ci/cluster-template-prow-aks-clusterclass.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions templates/test/ci/cluster-template-prow-aks.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion templates/test/ci/prow-aks-aso/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ patches:
value: ManagedClustersAgentPool
- op: replace
path: /spec/resources/0/spec/vmSize
value: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2ds_v5}"
value: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2s_v3}"
target:
kind: AzureASOManagedMachinePool

Expand Down
2 changes: 1 addition & 1 deletion templates/test/ci/prow-aks-aso/patches/aks-pool2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ spec:
name: ${CLUSTER_NAME}
mode: User
type: VirtualMachineScaleSets
vmSize: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2ds_v5}"
vmSize: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2s_v3}"
osType: Windows
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ spec:
enableNodePublicIP: false
availabilityZones: ["1", "2"]
name: pool0
sku: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2ds_v5}"
sku: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2s_v3}"
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
nodeLabels:
"type": "shared"
name: pool1
sku: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2ds_v5}"
sku: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2s_v3}"
kubeletConfig:
cpuManagerPolicy: "static"
cpuCfsQuota: true
Expand Down
2 changes: 1 addition & 1 deletion templates/test/ci/prow-aks/patches/aks-pool0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ spec:
enableNodePublicIP: false
availabilityZones: ["1", "2"]
name: pool0
sku: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2ds_v5}"
sku: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2s_v3}"
2 changes: 1 addition & 1 deletion templates/test/ci/prow-aks/patches/aks-pool1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
nodeLabels:
"type": "shared"
name: pool1
sku: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2ds_v5}"
sku: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2s_v3}"
kubeletConfig:
cpuManagerPolicy: "static"
cpuCfsQuota: true
Expand Down
2 changes: 1 addition & 1 deletion templates/test/ci/prow-aks/patches/aks-pool2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ metadata:
name: "${CLUSTER_NAME}-pool2"
spec:
mode: User
sku: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2ds_v5}"
sku: "${AZURE_AKS_NODE_MACHINE_TYPE:=Standard_D2s_v3}"
osType: Windows
name: pool2
2 changes: 1 addition & 1 deletion test/e2e/aks_spot.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func AKSSpotSpec(ctx context.Context, inputGetter func() AKSSpotSpecInput) {
Spec: infrav1.AzureManagedMachinePoolSpec{
AzureManagedMachinePoolClassSpec: infrav1.AzureManagedMachinePoolClassSpec{
Mode: "User",
SKU: "Standard_D2ds_v5",
SKU: "Standard_D2s_v3",
ScaleSetPriority: ptr.To(string(armcontainerservice.ScaleSetPrioritySpot)),
Scaling: &scaling,
SpotMaxPrice: &spotMaxPrice,
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/azure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ var _ = Describe("Workload cluster creation", func() {
})
})

// You can override the default SKU `Standard_D2ds_v5` by setting the
// You can override the default SKU `Standard_D2s_v3` by setting the
// `AZURE_AKS_NODE_MACHINE_TYPE` environment variable.
Context("Creating an AKS cluster for control plane tests [Managed Kubernetes]", func() {
It("with a single control plane node and 1 node", func() {
Expand Down

0 comments on commit 9bedf08

Please sign in to comment.