Facts
-
- We have multiple EKS across many regions of the same account.
- Our images are uploaded to central ECR on one of the regions
- we have multi-region replication rule defined on that region.
- 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