Azure Kubernetes Service - Increase Windows disk space

Viewed 25

I'd like to host Windows containers, which act as build agents, at an Azure Kubernetes Service instance - unfortunately I can't increase the default 20GB pod disk space. I'd need more disk space for running build jobs at the pods.

The pod is getting deployed using an ADO pipeline by applying YAML which describes the workload.

Attaching the pod, and proving the disk space results in following:

PS: C:\ Get-PSDrive C

Name           Used (GB)     Free (GB) Provider      Root
----           ---------     --------- --------      ----
C                   0.31         19.57 FileSystem    C:\

Does anybody know how to increase the disk space?

At our on-premise cluster it is possible by adding

--storage-opt 50G

as parameter with regard to the modified Docker service parameter.

But how does it work for AKS?

Thank you a lot in advance!

0 Answers
Related