Altinn / altinn-platform

Altinn Platform infrastructure
6 stars 1 forks source link

Cache public container images in azure container registry #559

Open bengtfredh opened 11 months ago

bengtfredh commented 11 months ago

Description

Some parts of infrastructure in kubernetes use public container images. Public container images shold be cached in azure container registry. This make sure we are not affected of outages in public container registry like docker.io, gcr.io i.e. Pulling images will probably go faster, and make autscaling work better.

Additional Information

https://learn.microsoft.com/en-us/azure/container-registry/tutorial-enable-artifact-cache-cli https://learn.microsoft.com/en-us/azure/container-registry/tutorial-enable-artifact-cache-auth-cli https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/container_registry_cache_rule

Tasks

Acceptance Criterias

Infrastructure can pull images from azure container registry

Summary

ivarne commented 11 months ago

Is this also relevant for the browserless image that is used for PDF?

bengtfredh commented 11 months ago

Is this also relevant for the browserless image that is used for PDF?

Yes, I think the goal must be that all container pulls go to azurecr.io.

bengtfredh commented 2 months ago