Search code examples
azureazure-aks

What is the maximum size of docker Image allowed on AKS?


What is the maximum allowed Docker image size for Azure Kubernetes Service (AKS)? For Azure Container Instance the max allowable docker image size is 15 GB. But I could not find any documentation for AKS limit that covers max allowable docker image size. Any feedback or documentation in this regard will be appreciated.


Solution

  • There's no explicit limit on the container image size, but large images with large unique layers are likely to create containers with a large memory footprint, potentially exceeding resource limits or the overall available memory of worker nodes (7 GiB for a Standard_DS2_v2 VM, which is currently the default in an AKS node pool).

    If a container image is excessively large (TBs), kubelet might not be able to pull it from the registry to a node due to lack of disk space.