Azure AKS VMSS as node pool - How to change Storage Type of OS disk from Premium SSD to Standard HDD

Balachandran, Karthikeyan 25 Reputation points
2023-10-11T15:10:47.0266667+00:00

Dear team,

Using Terraform + ARM template - for Azure AKS with VMSS as node pool - Please help me know how to change Storage Type of OS disk from Premium SSD to Standard HDD.

I could not find any information in https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster or in https://learn.microsoft.com/en-us/azure/aks/learn/quick-kubernetes-deploy-rm-template?tabs=azure-cli.

Thank you for your support. Awaiting a swift and useful response as usual please.

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,448 questions
0 comments No comments
{count} votes

Accepted answer
  1. AlaaBarqawi_MSFT 942 Reputation points Microsoft Employee
    2023-10-12T08:29:55.4466667+00:00

    @Balachandran, Karthikeyan you cannot directly chose the osdisk like Premium SSD or Standard HDD from aks create or terraform

    you need to specify parameter --node-vm-size Standard_DS3_v2 based on this vm size it will reflect on the storage os disk

    default_node_pool {
        name       = "default"
        node_count = 1
        vm_size    = "Standard_D2_v2"
      }
    

    you can see the specs here

    https://learn.microsoft.com/en-us/azure/virtual-machines/dv2-dsv2-series#dsv2-series

    Premium Storage: Supported

    related https://stackoverflow.com/questions/57094312/azure-aks-cluster-node-disk-type

    Note :please mark as answer if it answer your inquiry


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.