Skip to content

Commit 364856c

Browse files
committed
Clean up other SKU types
1 parent 79fb6bc commit 364856c

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed

api/v1beta1/azuremanagedmachinepooltemplate_webhook_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func TestManagedMachinePoolTemplateUpdateWebhook(t *testing.T) {
102102
ammpt.Spec.Template.Spec.SKU = "Standard_D2s_v5"
103103
}),
104104
machinePoolTemplate: getAzureManagedMachinePoolTemplate(func(ammpt *AzureManagedMachinePoolTemplate) {
105-
ammpt.Spec.Template.Spec.SKU = "Standard_D4s_v3"
105+
ammpt.Spec.Template.Spec.SKU = "Standard_D4s_v5"
106106
}),
107107
wantErr: true,
108108
},

azure/scope/machine_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,7 +1933,7 @@ func TestMachineScope_NICSpecs(t *testing.T) {
19331933
},
19341934
cache: &MachineCache{
19351935
VMSKU: resourceskus.SKU{
1936-
Name: ptr.To("Standard_D2v2"),
1936+
Name: ptr.To("Standard_D2s_v5"),
19371937
},
19381938
},
19391939
},
@@ -1959,7 +1959,7 @@ func TestMachineScope_NICSpecs(t *testing.T) {
19591959
IPv6Enabled: false,
19601960
EnableIPForwarding: false,
19611961
SKU: &resourceskus.SKU{
1962-
Name: ptr.To("Standard_D2v2"),
1962+
Name: ptr.To("Standard_D2s_v5"),
19631963
},
19641964
ClusterName: "cluster",
19651965
AdditionalTags: infrav1.Tags{

azure/services/networkinterfaces/spec_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var (
4343
ClusterName: "my-cluster",
4444
}
4545
fakeSku = resourceskus.SKU{
46-
Name: ptr.To("Standard_D2v2"),
46+
Name: ptr.To("Standard_D2s_v5"),
4747
Kind: ptr.To(string(resourceskus.VirtualMachines)),
4848
Locations: []*string{
4949
ptr.To("fake-location"),

docs/book/src/developers/getting-started-with-capi-operator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,12 @@ managedMachinePoolSpecs:
166166
pool0:
167167
count: 1
168168
mode: System
169-
vmSize: Standard_DS2_v2
169+
vmSize: Standard_D2s_v5
170170
type: VirtualMachineScaleSets
171171
pool1:
172172
count: 1
173173
mode: User
174-
vmSize: Standard_DS2_v2
174+
vmSize: Standard_D2s_v5
175175
type: VirtualMachineScaleSets
176176
```
177177

docs/book/src/managed/managedcluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ metadata:
198198
spec:
199199
mode: User
200200
osDiskSizeGB: 40
201-
sku: Standard_D2s_v4
201+
sku: Standard_D2s_v5
202202
```
203203
204204
Please note that we don't declare a configuration for the apiserver endpoint. This configuration data will be populated automatically based on the data returned from AKS API during cluster create as `.spec.controlPlaneEndpoint.Host` and `.spec.controlPlaneEndpoint.Port` in both the `AzureManagedCluster` and `AzureManagedControlPlane` resources. Any user-provided data will be ignored and overwritten by data returned from the AKS API.

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

Lines changed: 2 additions & 2 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-spot.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/ci/prow-edgezone/patches/machine-type.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
spec:
77
template:
88
spec:
9-
vmSize: ${AZURE_EDGEZONE_CONTROL_PLANE_MACHINE_TYPE:=Standard_DS2_v2}
9+
vmSize: ${AZURE_EDGEZONE_CONTROL_PLANE_MACHINE_TYPE:=Standard_D2s_v5}
1010
---
1111
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
1212
kind: AzureMachineTemplate
@@ -16,4 +16,4 @@ metadata:
1616
spec:
1717
template:
1818
spec:
19-
vmSize: ${AZURE_EDGEZONE_NODE_MACHINE_TYPE:=Standard_DS4_v2}
19+
vmSize: ${AZURE_EDGEZONE_NODE_MACHINE_TYPE:=Standard_D4s_v5}

templates/test/ci/prow-spot/patches/spot-vm-options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
spec:
66
template:
77
spec:
8-
vmSize: "Standard_B2s_v2_v2"
8+
vmSize: "Standard_B2s_v2"
99
spotVMOptions:
1010
maxPrice: 1000
1111
evictionPolicy: "Delete"

test/e2e/azure_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ var _ = Describe("Workload cluster creation", func() {
11981198
// ci-e2e.sh and Prow CI skip this test by default. To include this test, set `GINKGO_SKIP=""`.
11991199
// This spec expects a user-assigned identity named "cloud-provider-user-identity" in a "capz-ci"
12001200
// resource group. Override these defaults by setting the USER_IDENTITY and CI_RG environment variables.
1201-
// You can also override the default SKU `Standard_DS2_v2` and `Standard_DS4_v2` storage by setting
1201+
// You can also override the default SKU `Standard_D2s_v5` and `Standard_D4s_v5` SKUs by setting
12021202
// the `AZURE_EDGEZONE_CONTROL_PLANE_MACHINE_TYPE` and `AZURE_EDGEZONE_NODE_MACHINE_TYPE` environment variables.
12031203
Context("Creating clusters on public MEC [OPTIONAL]", func() {
12041204
It("with 1 control plane nodes and 1 worker node", func() {

0 commit comments

Comments
 (0)