ECR region replication lags for multi-region EKS

0

Facts

    1. We have multiple EKS across many regions of the same account.
  1. Our images are uploaded to central ECR on one of the regions
  2. we have multi-region replication rule defined on that region.
  3. Our EKS start consuming the images ~2-10 minutes after they are pushed.

Needs

We want each EKS to pull images from regional ECR but


Problem

This warning from official replication docs is troubling us:

The majority of images replicate in less than 30 minutes, but in rare cases the replication might take longer.

It means that all EKS from the non-main regions will fail to pull images from regional ECR if the replication mechanism hasn't worked yet for that tag.


How can we solve it?

  • I found this controller that may allow us to configure failover to the main region, but I wonder if there is some official solution for this problem
preguntada hace 2 años298 visualizaciones
1 Respuesta
0

Hello,

Can you simply push your image to the different ECRs you have, this way you are sure that your image exists in the regions you are using and you don't wait for replication.

Best regards,

AWS
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas