Skip to main content

oras

AKS: Mount Versioned Content as OCI Image Volumes

Kubernetes 1.36 graduated image volumes to stable. This feature lets the kubelet pull any OCI artifact from a registry and mount its filesystem directly into pods as a read-only volume — no init containers, no emptyDir copies, no custom CSI drivers. In this post I’ll walk through a complete example: packaging versioned project content as a scratch-based OCI image and serving it from a Go HTTP API running on AKS.