How to change OS disk SKU for Virtual Machine Scale Set (VMSS)?

YeGun Kim 6 Reputation points
2022-05-11T04:42:55.61+00:00

I create Azure Kubernetes Service by Bicep like below.

   bicep  
   param clusterName string = 'kubernetes'  
   param location string = resourceGroup().location  
     
   resource aksCluster 'Microsoft.ContainerService/managedClusters@2022-02-01' = {  
     name: clusterName  
     location: location  
     sku: {  
       name: 'Basic'  
       tier: 'Free'  
     }  
     identity: {  
       type: 'SystemAssigned'  
     }  
     properties: {  
       kubernetesVersion: '1.23.5'  
       enableRBAC: true  
       agentPoolProfiles: [  
         {  
           name: 'agentpool'  
           mode: 'System'  
           type:'VirtualMachineScaleSets'  
           orchestratorVersion: '1.23.5'  
           enableAutoScaling: false  
           enableFIPS: false  
           maxPods: 110  
           count: 1  
           vmSize: 'Standard_B2s'  
           osType:'Linux'  
           osSKU:'Ubuntu'  
           osDiskType: 'Managed'  
           osDiskSizeGB: 0  
           enableUltraSSD: false  
           enableNodePublicIP: false  
         }  
       ]  
       dnsPrefix: 'kubernetes-cluster-dns'  
       networkProfile: {  
         loadBalancerSku: 'basic'  
         networkPlugin: 'kubenet'  
       }  
     }  
   }  

Azure Kubernetes Service (AKS) create Virtual Machine Scale Set like below.

200785-g6pwb.png

I do not want to use Premium SSD LRS OS disk. It is too expensive for me while learning kubernetes.

What should I do?

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,855 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
347 questions
{count} vote