-
Notifications
You must be signed in to change notification settings - Fork 278
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
Windows Node cannot pull images from private registry #7103
Comments
Are you sure the credentials are correct? Are you sure that the image exists on that registry? Can you pull that image successfully if you do Assuming the tag exists and the creds are correct, you might also check containerd.log to see if it contains any more useful information on why the pull is failing. |
Hi @brandond , Yes, the command to pull manually the image works fine using the same credentials on the I can't find any kind of Maybe the issue is that I haven't the right |
That should be the right path. Are there any errors in the system log regarding the contents of that file? Do you see the registries and creds in |
Yes, I can see a section on this config.toml like:
|
That's correct then, and all that K3s is responsible for managing. Take a look at the containerd.log (also under the rke2 agent dir) and see what that says. |
You can confirm that you're pulling images from docker.internal-cache.com? It doesn't have a port when referenced in the image name, or something else that would make a string comparison fail? |
Hi, Yes I confirmed that the image is downloaded from the cache. Anyway, we finally abandon the approach of use Windows node because these kind of issues and other related with csi plugins. So I will close the thread without a real solution of the original issue but we cannot continue tracking this by now. Thanks a lot @brandond for your support. |
Environmental Info:
RKE2 Version:
rke2 version v1.30.5+rke2r1 (0c83bc8)
go version go1.22.6 X:boringcrypto
Node(s) CPU architecture, OS, and Version:
Windows Server 2022 21H2 Build 20348.2700
Cluster Configuration:
2 Managers and 2 workers in RHEL all of them
Describe the bug:
Windows Node cannot pull images from private registry.
Steps To Reproduce:
Expected behavior:
Image is downloaded and pod is running
Actual behavior:
Pod is not running with an error pulling the container image
Additional context / logs:
Here is an example of "describe" log of the pod:
Here is the configuration of the file
C:\etc\rancher\rke2\registries.yaml
:The text was updated successfully, but these errors were encountered: