Skip to content

Commit 93f187e

Browse files
committed
Update to Standard_B2s_v2 SKU for testing
1 parent 37d47aa commit 93f187e

22 files changed

+120
-60
lines changed

Tiltfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ settings = {
3030
"flatcar_version": "3374.2.1",
3131
"azure_location": "eastus",
3232
"control_plane_machine_count": "1",
33-
"az_control_plane_machine_type": "Standard_B2s",
33+
"az_control_plane_machine_type": "Standard_B2s_v2",
3434
"worker_machine_count": "2",
35-
"az_node_machine_type": "Standard_B2s",
35+
"az_node_machine_type": "Standard_B2s_v2",
3636
"cluster_class_name": "default",
3737
}
3838

controllers/helpers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ func newAzureManagedMachinePool(clusterName, poolName, mode string) *infrav1.Azu
12421242
Spec: infrav1.AzureManagedMachinePoolSpec{
12431243
AzureManagedMachinePoolClassSpec: infrav1.AzureManagedMachinePoolClassSpec{
12441244
Mode: mode,
1245-
SKU: "Standard_B2s",
1245+
SKU: "Standard_B2s_v2",
12461246
OSDiskSizeGB: ptr.To(512),
12471247
KubeletConfig: &infrav1.KubeletConfig{
12481248
CPUManagerPolicy: &cpuManagerPolicyStatic,

docs/book/src/developers/development.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@ export AZURE_CLIENT_SECRET_B64="$(echo -n "$AZURE_CLIENT_SECRET" | base64 | tr -
385385

386386
# Machine settings.
387387
export CONTROL_PLANE_MACHINE_COUNT=3
388-
export AZURE_CONTROL_PLANE_MACHINE_TYPE="Standard_B2s"
389-
export AZURE_NODE_MACHINE_TYPE="Standard_B2s"
388+
export AZURE_CONTROL_PLANE_MACHINE_TYPE="Standard_B2s_v2"
389+
export AZURE_NODE_MACHINE_TYPE="Standard_B2s_v2"
390390
export WORKER_MACHINE_COUNT=2
391391
export KUBERNETES_VERSION="v1.32.2"
392392

docs/book/src/getting-started-with-aks.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@
5151
--enable-oidc-issuer \
5252
--enable-workload-identity \
5353
--node-count 2 \
54-
--node-vm-size Standard_B2s \
54+
--node-vm-size Standard_B2s_v2 \
5555
--generate-ssh-keys \
5656
--location <region>
5757
```
58-
58+
5959
2. Retrieve Credentials for the AKS Cluster to interact with it using kubectl:
6060
```bash
6161
az aks get-credentials --resource-group <resource-group-name> --name <aks-cluster-name>
@@ -105,9 +105,9 @@ az identity federated-credential create \
105105
Run the following command to initialize the management cluster with Cluster API Provider Azure (CAPZ):
106106

107107
`clusterctl init --infrastructure azure`
108-
108+
109109
This command sets up the necessary components, including Cluster API Core, CAPZ, and Azure Service Operator (ASO).
110-
View the [Cluster API Quick Start: Initialize the management cluster](https://cluster-api.sigs.k8s.io/user/quick-start.html) documentation for more detailed instructions. Ensure you select the "Azure" tabs for Azure-specific guidance.
110+
View the [Cluster API Quick Start: Initialize the management cluster](https://cluster-api.sigs.k8s.io/user/quick-start.html) documentation for more detailed instructions. Ensure you select the "Azure" tabs for Azure-specific guidance.
111111

112112
7. Annotate the capz-manager service account in the capz-system namespace with the UAMI's clientId:
113113
```bash
@@ -117,4 +117,4 @@ Run the following command to initialize the management cluster with Cluster API
117117
```
118118
## Building your First Cluster
119119

120-
To create a workload cluster, follow the [Cluster API Quick Start: Create your first workload cluster](https://cluster-api.sigs.k8s.io/user/quick-start.html) for detailed instructions. Ensure you select the "Azure" tabs for Azure-specific guidance.
120+
To create a workload cluster, follow the [Cluster API Quick Start: Create your first workload cluster](https://cluster-api.sigs.k8s.io/user/quick-start.html) for detailed instructions. Ensure you select the "Azure" tabs for Azure-specific guidance.

docs/book/src/self-managed/custom-vnet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ spec:
395395
osType: Linux
396396
sshPublicKey: ${YOUR_SSH_PUB_KEY}
397397
subnetName: subnet-mp-1
398-
vmSize: Standard_B2s
398+
vmSize: Standard_B2s_v2
399399
---
400400
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
401401
kind: AzureMachinePool
@@ -418,7 +418,7 @@ spec:
418418
osType: Linux
419419
sshPublicKey: ${YOUR_SSH_PUB_KEY}
420420
subnetName: subnet-mp-2
421-
vmSize: Standard_B2s
421+
vmSize: Standard_B2s_v2
422422
```
423423

424424
If you don't specify any `node` subnets, one subnet with role `node` will be created and added to the `networkSpec` definition.

docs/book/src/self-managed/failure-domains.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ spec:
189189
osDisk:
190190
diskSizeGB: 30
191191
osType: Linux
192-
vmSize: Standard_B2s
192+
vmSize: Standard_B2s_v2
193193
```
194194

195195
## Availability sets when there are no failure domains

docs/book/src/self-managed/gpu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ workload cluster.
2424
Remember to use the `nvidia-gpu` flavor with N-series nodes.
2525

2626
```bash
27-
AZURE_CONTROL_PLANE_MACHINE_TYPE=Standard_B2s \
27+
AZURE_CONTROL_PLANE_MACHINE_TYPE=Standard_B2s_v2 \
2828
AZURE_NODE_MACHINE_TYPE=Standard_NC6s_v3 \
2929
AZURE_LOCATION=southcentralus \
3030
clusterctl generate cluster azure-gpu \

docs/book/src/self-managed/spot-vms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
storageAccountType: Premium_LRS
3333
osType: Linux
3434
sshPublicKey: ${YOUR_SSH_PUB_KEY}
35-
vmSize: Standard_B2s
35+
vmSize: Standard_B2s_v2
3636
spotVMOptions: {}
3737
```
3838
@@ -76,6 +76,6 @@ spec:
7676
storageAccountType: Premium_LRS
7777
osType: Linux
7878
sshPublicKey: ${YOUR_SSH_PUB_KEY}
79-
vmSize: Standard_B2s
79+
vmSize: Standard_B2s_v2
8080
spotVMOptions: {}
8181
```

docs/book/src/self-managed/trusted-launch-for-vms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ManagedImageSharedImageGalleryId: /subscriptions/01234567-89ab-cdef-0123-4567890
3535

3636
## Example
3737

38-
The below example shows how to deploy a cluster with control-plane nodes that have SecureBoot and vTPM enabled. Make sure to choose a supported generation 2 VM size (e.g. `Standard_B2s`) and OS (e.g. Ubuntu Server 22.04 LTS).
38+
The below example shows how to deploy a cluster with control-plane nodes that have SecureBoot and vTPM enabled. Make sure to choose a supported generation 2 VM size (e.g. `Standard_B2s_v2`) and OS (e.g. Ubuntu Server 22.04 LTS).
3939
NOTE: the same can be applied to worker nodes
4040

4141
```yaml
@@ -61,5 +61,5 @@ spec:
6161
osDisk:
6262
diskSizeGB: 128
6363
osType: "Linux"
64-
vmSize: "Standard_B2s"
64+
vmSize: "Standard_B2s_v2"
6565
```

docs/book/src/topics/workload-identity.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ to give the identity Contributor access to the Azure subscription where the work
9898
# This is the client ID of the AAD app or user-assigned identity that you used to created the federated identity.
9999
export AZURE_CLIENT_ID=<your-azure-client-id>
100100
export AZURE_TENANT_ID=<your-azure-tenant-id>
101-
export AZURE_CONTROL_PLANE_MACHINE_TYPE="Standard_B2s"
102-
export AZURE_NODE_MACHINE_TYPE="Standard_B2s"
101+
export AZURE_CONTROL_PLANE_MACHINE_TYPE="Standard_B2s_v2"
102+
export AZURE_NODE_MACHINE_TYPE="Standard_B2s_v2"
103103
export AZURE_LOCATION="eastus"
104104
105105
# Identity secret. Though these are not used in workload identity, we still

0 commit comments

Comments
 (0)