k8s-image-swapper
k8s-image-swapper copied to clipboard
Manage rate-limiting
Problem
nfo msg=\"Warning: failed, retrying in 2s ... (2/3)\"\ntime=\"2021-01-28T02:55:01Z\" level=info msg=\"Warning: failed, retrying in 4s ... (3/3)\"\ntime=\"2021-01-28T02:55:40Z\" level=fatal msg=\"Error initializing source docker://prom/pushgateway:v0.6.0: Error reading manifest v0.6.0 in docker.io/prom/pushgateway: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit\"\n"
Solutions
- [ ] Exponential backoff upon failure for each registry
- [ ] Allow authentication via config