Azure Disk is 256 GB but AKS is showing 8GB inside the Pod

Tahmid Eshayat 286 Reputation points

Hey there,

I think this is more like the K8S question together with AKS and Azure Disk.

I have an azure disk which is attached to the main VM of K8S.
In the screenshot, it is visible that the disk is 256 GB.


I have referenced the Volume like this in k8s,


But inside the POD, I can see the disk limit is only 8GB


Not sure, How to fix this issue. Couldn't find any possible way.

Help would be appreciated


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,990 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
602 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. shiva patpi 13,171 Reputation points Microsoft Employee

    Hello @Tahmid Eshayat ,
    Thanks for your query !
    To repro your scenario I tried creating both static and dynamic volumes for Azure disks but I can see the size accordingly in the mounted container . Based upon the screen shot , I hope in your case the disk was created dynamically and you did use "PersistentVolumeClaim"

    Followed the below article for static:

    Even tested it for StandardSSD.

    All looks fine from my end

    Couple of things to try:

    If you are still facing the same issue , kindly provide all the detailed steps which you followed along with sample YAML , PVC , PV resources.

    If the above troubleshooting steps helps out in resolving the issue , kindly "Accept the Answer".