<p>I have a simple 3-node cluster created using AKS. Everything has been going fine for 3 months. However, I'm starting to have some disk space usage issues that seem related to the Os disks attached to each nodes.</p>

<p>I have no error in kubectl describe node and all disk-related checks are fine. However, when I try to run kubectl logs on some pods, I sometimes get "no space left on device".</p>

<p>How can one manage storage used in those disks? I can't seem to find a way to SSH into those nodes as it seems to only be manageable via Azure CLI / web interface. Is there also a way to clean what takes up this space (I assume unused docker images would take place, but I was under the impression that those would get cleaned automatically...)</p>

morka
<p>Things you can do to fix this:</p>

<ol>
<li>Create AKS with bigger OS disk (I usually use 128gb)</li>
<li>Upgrade AKS to a newer version (this would replace all the existing vms with new ones, so they won't have stale docker images on them)</li>
<li>Manually clean up space on nodes</li>
<li>Manually extend OS disk on nodes (will only work until you scale\upgrade the cluster)</li>
</ol>

<p>I'd probably go with option 1, else this problem would haunt you forever :(</p>
