-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Dockerhub creds for image pulls #6883
Comments
I think best way would be to add some custom playbook to render a
Since containers are download via plain docker pull command lines via user root, this should work. |
Adding API credentials bumps the rate limiting from 100 to 200. Possibly more if Docker hub adds an exception for open source projects (conditions might apply). Another option that someone (@EppO I think?) mentioned in Slack could be to add a caching proxy registry in the CI cluster. A number of projects have been publishing images to several repos (gcr, docker hub, quay, ...). I suppose we should continue efforts to avoid docker hub images whenever possible. At the moment I do not have bandwidth to work on the topic, but thanks to the open source nature of the project anyone can contribute. |
Kubespray is not only docker |
you may use free dockerhub proxy mirror on https://mirror.gcr.io |
containerd
|
crio #6977 coming soon ) |
This wasn't working for me using containerd as I was still hitting API limits due to most of my infrastuctre is NATTED so I have to provide dockerhub user/pass. Also using the mirror.gcr.io solution was not working with 2.14.2 tag, probbaly the images are removed, idk. However, I managed to add a mini patch which does allow for this support, im sure it can be done better but it does work and may give an idea how to do this. modified: roles/container-engine/containerd/templates/config.toml.j2
inventory/sample/group_vars/all/containerd.yml
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Rotten issues close after 30d of inactivity. Send feedback to sig-contributor-experience at kubernetes/community. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
In light of the recent dockerhub pull limits https://www.docker.com/increase-rate-limits?utm_source=docker&utm_medium=web%20referral&utm_campaign=pull%20limits%20home%20page&utm_budget= how would I pass dockerhub creds to kubespray for it to use when pulling images to our nodes when creating a cluster?
The text was updated successfully, but these errors were encountered: