Skip to content

Commit

Permalink
add e2e test Test_AzureLinuxV2_ARM64_Scriptless
Browse files Browse the repository at this point in the history
  • Loading branch information
xmzhao0822 committed Jan 30, 2025
1 parent ef56341 commit 5490eef
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions e2e/scenario_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,23 @@ func Test_AzureLinuxV2_ARM64(t *testing.T) {
})
}

func Test_AzureLinuxV2_ARM64_Scriptless(t *testing.T) {
RunScenario(t, &Scenario{
Description: "Tests that a node using a AzureLinuxV2 (CgroupV2) VHD on ARM64 architecture can be properly bootstrapped",
Config: Config{
Cluster: ClusterKubenet,
VHD: config.VHDAzureLinuxV2Gen2Arm64,
AKSNodeConfigMutator: func(config *aksnodeconfigv1.Configuration) {
config.KubeBinaryConfig.CustomKubeBinaryUrl = "https://acs-mirror.azureedge.net/kubernetes/v1.24.9/binaries/kubernetes-node-linux-arm64.tar.gz"
config.VmSize = "Standard_D2pds_V5"
},
VMConfigMutator: func(vmss *armcompute.VirtualMachineScaleSet) {
vmss.SKU.Name = to.Ptr("Standard_D2pds_V5")
},
},
})
}

func Test_AzureLinuxV2_ARM64AirGap(t *testing.T) {
RunScenario(t, &Scenario{
Description: "Tests that a node using a AzureLinuxV2 (CgroupV2) VHD on ARM64 architecture can be properly bootstrapped",
Expand Down

0 comments on commit 5490eef

Please sign in to comment.