By using AWS re:Post, you agree to the Terms of Use

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
1 Answer
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,

answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions