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
posta 2 anni fa298 visualizzazioni
1 Risposta
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
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande