Disable docker hub mirror use in jobs
Docker hub rate limits have become a problem made worse by forcing all of our requests through a single IP per cloud region (the docker hub proxy cache running on our mirror nodes). Attempt to alleviate these issues by disabling the use of the proxy cache for docker hub. This will allow us to use far more IPs which should make this less of an issue. Of course that will create more network traffic which isn't ideal either and we may be more susceptible to network problems. We do this by configuring an empty zuul_site_mirror_info which the depends on looks at and will noop if present without a dockerhub config in this dictionary. Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/935722 Change-Id: Ibab72d777083a5bb119f29915f680bcd07a1caec
This commit is contained in:
parent
a7462d102a
commit
04d6e0c877
@ -7,6 +7,10 @@ zuul_site_mirror_fqdn: >-
|
|||||||
{%- else -%}
|
{%- else -%}
|
||||||
mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.opendev.org
|
mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.opendev.org
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
# This is explicitly empty to disable dockerhub mirroring
|
||||||
|
# TODO we should port all of our mirroring config into here as different
|
||||||
|
# mirror setup roles support this functionality.
|
||||||
|
zuul_site_mirror_info: {}
|
||||||
zuul_site_ipv4_route_required: true
|
zuul_site_ipv4_route_required: true
|
||||||
zuul_site_traceroute_host: opendev.org
|
zuul_site_traceroute_host: opendev.org
|
||||||
zuul_site_image_manifest_files:
|
zuul_site_image_manifest_files:
|
||||||
|
Loading…
Reference in New Issue
Block a user