-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch the image from docker.io to gcr mirror #8146
Switch the image from docker.io to gcr mirror #8146
Conversation
/kind misc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
test/taskrun_test.go
Outdated
@@ -208,7 +208,7 @@ spec: | |||
if d := cmp.Diff(taskrun.Status.Steps, expectedStepState, ignoreTerminatedFields, ignoreStepFields); d != "" { | |||
t.Fatalf("-got, +want: %v", d) | |||
} | |||
// Note(chmouel): Sometime we have docker-pullable:// or docker.io/library as prefix, so let only compare the suffix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert this
Docker hub reduced its rate limit to a 100 container pulls per hour. This is very small and making our tests flaky. As a stop gap, we think that changing to `mirror.gcr.io` will get us past the rate limit since the image will be pushed from the artifact registry cache instead of docker hub.
5a031ac
to
824a41a
Compare
/approve @chitrangpatel are we ready to merge now or waiting for an additional setting around |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pritidesai The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@pritidesai I think we can start with this. Adding the imagePullPolicy is a bit more involved and will probably come in a follow-up PR. |
/lgtm |
Docker hub reduced its rate limit to a 100 container pulls per hour. This is very small and making our tests flaky. As a stop gap, we think that changing to
mirror.gcr.io
will get us past the rate limit since the image will be pushed from the artifact registry cache instead of docker hub.Changes
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes