I have created a VMSS with Ubuntu OS image in Azure. At the moment, I have 3 machines running with disks size of 30GB size. How do I scale up to 64GB or 128GB disks in my Linux VMSS instances? I tried creating a VMSS with managed disk and unmanaged disks, had an option to add data disk but no option to increase the size of existing disk.
Help me understand how do I extend or increase the default size of the disk of my existing VMSS instances which are running in Azure?
Thanks in advance. Incase you need some more information, please let me know, ill be happy to provide any additional info.
If you're like me and MS decided to bump the minimum OS disk size of your chosen AKS node pool (VMSS) VM size from 30GB to 50GB and get errors like:
here's what I did:
kubectl drain aks-tempinfra01-NNNNNNNN-vmss000000 --ignore-daemonsets
tempinfra012
nodepool, delete the original pool with faulty configaz aks nodepool delete -n tempinfra01 -g rg-common-app-temp-region-01 --cluster-name aks-common-app-temp-region-01 --subscription org-app-dev-01
tempinfra01
with valid configuration (see section 1.).If you happen to have separated AKS node and pod subnets, remember to include the pod subnet in the nodepool creation command:
--pod-subnet-id=/subscriptions/<sub-id>/resourceGroups/<VNET-rg>/providers/Microsoft.Network/virtualNetworks/<VNET>/subnets/snet-app-dev-aks-pods-01