acr
acr copied to clipboard
Add support of registry.k8s.io type in cache rules
What is the problem you're trying to solve
There is no option exist currently to add a cache rule for registry.k8s.io
, Although most images are related to Kubernetes and AKS is not dependent on those images, some are required generally, such as registry.k8s.io/ingress-nginx/controller
.
Describe the solution you'd like
A hack that I'm using now to support the registry.k8s.io
is using the Dockerhub registry as a type like the image below ( it's empty after choosing dockerhub)
A good solution might be adding the type of registry.k8s.io
to ACR cache rules.
@behroozam We don't support adding rules to registry.k8s.io through the portal, but you can create them using the CLI. Refer to the upstream support doc here: https://learn.microsoft.com/en-us/azure/container-registry/tutorial-artifact-cache