-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Skaffold & local docker daemon registry mirror #7368
Comments
@iusetabs Skaffold relies on docker client lib to pull images. We don't do anything special and hence this should work out of the box. |
We're using kaniko, and we've configured |
It appears that a skaffold dependency module is at fault, but several refer to
The issue appears to be with |
@oursland Thx for the link to the issue, I've been spending some time looking into this again today. I'm not familiar with the source code of Skaffold at all, but I was digging into the code and once I hit the ConfigFile function at Even though this isn't a skaffold issue, I will have to remove skaffold from the pipeline I work with unless this can be fixed soon. This pull rate error is blocking my team😢 Unless somebody can suggest some hacky approach to quickly work around this issue 😉 |
After building skaffold locally and figuring out how it actually interacts with the However in order to get any change of this nature into a skaffold release, one needs to tweak the skaffold dependencies. Also skaffold was particularly hard to debug, I had to put print statements in multiple places to see what was going on. It would be super nice to connect the IntelliJ Ultimate debugger to a debug version of the skaffold binary, has anybody any experience with that, maybe with Visual Code? I will leave this issue open, as work will need to be done with Skaffold in order to leverage the docker mirrors whenever that feature is developed with |
Needs to upgrade |
|
Does it really fix the problem? I don't see anything in go-containerregistry's changelog about adding mirrors support, GoogleContainerTools/go-containerregistry#1200 is still open. |
Agreed @ericzzzzzzz this issue was about skaffold not supporting docker mirrors. Specifically one will get rate limited as the go container registry dependency is pinging index.docker.io ( due to a hardcoded value ) even when using a docker mirror. Please re-open this issue as there may be changes required to skaffold in order to support this ( hopefully not though! ) |
sorry I misunderstood the problem, re-opening this |
No worries! Thanks very much 😄 |
Comment to make triage-party happy. Please ignore |
Any progress on this? This issue prevents us from deploying skaffold. |
@ematvey The underlying issue is with |
Expected behavior
Actual behavior
getting hash for artifact "servicename": getting dependencies for "servicename": parsing ONBUILD instructions: retrieving image "php:8.0-apache": GET https://index.docker.io/v2/library/php/manifests/8.0-apache: TOOMANYREQUESTS: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
Information
-- kube-context: [my AWS EKS cluster]
-- default-repo: [my private docker repo]
-- local-cluster: false
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: