*** dhill is now known as Guest3761 | 01:06 | |
*** \join_su1line is now known as \join_subline | 22:27 | |
tonyb | How do I verify/ensure that any/all jobs in a given build are pulling container images through the mirror/buildset registry? | 22:48 |
---|---|---|
tonyb | I keep hitting the docker.io ratelimits | 22:48 |
Clark[m] | tonyb: we disabled the mirror by default because that funneled everything through one IP which seemed to increase the rate of rate limit problems | 23:10 |
Clark[m] | Then the buildset registry is typically only used for images built in the same buildset..however things could be modified to prime the buildset registry with all needed images | 23:10 |
tonyb | Clark[m]: Ahh that makes sense | 23:12 |
Clark[m] | Unfortunately an entire /64 is treated as one IP for ipv6 | 23:17 |
Clark[m] | So even with disabling the mirror we're kinda funneling on some clouds | 23:17 |
Clark[m] | We could modify jobs with ipv4 records for the two docker hub names | 23:18 |
Clark[m] | In /etc/hosts I mean | 23:19 |
tonyb | Yeah. I'll look into something like that | 23:19 |
Clark[m] | Review02 has the two names commented out in /etc/hosts | 23:20 |
Clark[m] | Ideally we lookup the values at runtime though as they may do global DNS load balancing | 23:21 |
tonyb | Yeah. I have a couple of ideas | 23:25 |
tonyb | `for host in docker.io registry-1.docker.io production.cloudflare.docker.com ; do host -t A $host | awk "{print \$NF, \"$host\"}"; done | tee -a /etc/hosts` | 23:26 |
tonyb | might work? | 23:26 |
Clark[m] | The shape of that looks right. I'm a passenger in a car so can't really test or debug it | 23:51 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!