Registry v2: Image Registry Overview
Registry v2 is the Operator-managed integrated image registry for clusters. It provides internal image storage, ImageStream metadata, namespace-based access control, managed service account pull credentials, and image pruning.
TOC
Integrated Image RegistryWhat Changed from the Legacy RegistryCommon TermsAutomatic Image PruningCompatibility NotesIntegrated Image Registry
The registry runs as a cluster workload in image-registry-system. The image-registry Deployment serves OCI push and pull traffic, while image metadata is served through the aggregated image.alauda.io/v1 Image API.
Image data and image metadata are stored separately:
The registry integrates with authentication and Kubernetes authorization. Namespace RoleBindings control who can pull, push, delete, list, or prune image content.
What Changed from the Legacy Registry
Common Terms
Automatic Image Pruning
Registry v2 uses imagepruners.imageregistry.operator.alauda.io/cluster to configure scheduled pruning. The Operator renders an image-pruner CronJob that runs ac adm prune images with the configured retention policy.
Pruning removes unused image metadata first. Registry garbage collection reclaims storage after metadata is removed.
Compatibility Notes
- The legacy Registry how-to pages remain valid for environments that still use the legacy Registry.
- Registry v2 Image API resources use the API groups
image.alauda.io/v1andimageregistry.operator.alauda.io/v1. - Registry v2 uses Image API resources such as
Image,ImageStream,ImageStreamTag, andImagePruner. - Use
acfor Registry workflows.