You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
Description
Hello
I’m running into an issue deploying an AKS cluster with a new generation of virtual machines available in Azure. I am using the Standard_D8ads_v6 VM size. The same setup works fine with Standard_D8ads_v5.
Here’s the error I’m getting:
(BadRequest) Code="BadRequest" Message="The selected VM size 'Standard_D8ads_v6' cannot boot
Hypervisor Generation '1'. If this was a Create operation please check that the Hypervisor Generation of
the Image matches the Hypervisor Generation of the selected VM Size. If this was an Update operation
please select a Hypervisor Generation '1' VM Size. For more information, see https://aka.ms/azuregen2vm"
I was able to create the node pool using the Azure CLI with this command:
az aks nodepool add --cluster-name cluster-eus1 --resource-group cluster-eus1 \
--name test --node-osdisk-type Ephemeral --node-vm-size Standard_D8ads_v6 \
--node-count 1 --os-type Windows --os-sku Windows2022 --aks-custom-headers UseWindowsGen2VM=true
But I need a Terraform-based solution to achieve the same result.
Is there an existing issue for this?
Community Note
Description
Hello
I’m running into an issue deploying an AKS cluster with a new generation of virtual machines available in Azure. I am using the Standard_D8ads_v6 VM size. The same setup works fine with Standard_D8ads_v5.
Here’s the error I’m getting:
I was able to create the node pool using the Azure CLI with this command:
But I need a Terraform-based solution to achieve the same result.
Thanks!
Yuli
New or Affected Resource(s)/Data Source(s)
azurerm_kubernetes_cluster_node_pool
Potential Terraform Configuration
References
No response
The text was updated successfully, but these errors were encountered: