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
질문됨 2년 전297회 조회
1개 답변
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
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠