-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Using private docker registry as a pull-through cache with k3s & containerd #2015
Comments
This appears to be working now, I guess the only way to test is to restart all agents and server and do not use Deploy changes to your manifests and it should start working. |
Yeah, running through the process of copying out the file to all your nodes and then restarting k3s on all of them is definitely necessary to get it to pick up the change. I'm a little surprised that ctr wasn't honoring the mirror settings though. That could be a separate issue if confirmed. What do you get from |
|
Hmm that seems like it might be a bug then. I am not super familiar with the internals of containerd but I would expect ctr to respect the containerd configuration. |
Closing due to age, and we seem to have a fix. Reopen if needed |
Hi, I was wondering it anyone can help me try to get this to work. I cannot get containerd to use my docker registry as a pull thru cache. Here is more information:
I ran the following on
k3s-worker-e
:Now I checked to see if the traefik image was cached in my registry and it was not found.
After that, I tried on my local macbook with the following Docker config and the images do get cached on my registry:
Related issues: #1802 and #1210 (comment)
Is there some flaw in my testing? Should I not be using
sudo ctr image pull ...
as a test?The text was updated successfully, but these errors were encountered: