-
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
How to setup reigistry-mirror in Kind for "failed to pull image" error #3835
Comments
Kind uses containerd and not Docker, so that will be the relevant part to look at. You can patch the containerd config inside the node that gets deployed by providing your custom mirror configuration under You could also consider using a local registry to load your images. |
Thanks for your reply. |
Are you running that from the host or from the cluster node? The cluster node doesn't use your host OS configuration, so to do a proper test you will need to exec in to the node container and run commands from there. From there you can also verify your settings from |
Thanks for your suggestion. I have not tried The 2nd step should be unnecessary here. |
I follow this page:
https://docs.ray.io/en/latest/cluster/kubernetes/getting-started/raycluster-quick-start.html#kuberay-raycluster-quickstart
and install ray-clustte using commandhelm install raycluster kuberay/ray-cluster --version 1.2.2
.After execution, the kind can not be uanble to pull images:
`
-> kubectl get pods
-> kubectl describe pod raycluster-kuberay-head-krpmp
....
Events:
Type Reason Age From Message
Warning Failed 28m (x42 over 3h21m) kubelet (combined from similar events): Failed to pull image "rayproject/ray:2.9.0": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/rayproject/ray:2.9.0": failed to resolve reference "docker.io/rayproject/ray:2.9.0": failed to do request: Head "https://registry-1.docker.io/v2/rayproject/ray/manifests/2.9.0": dial tcp 157.240.2.14:443: i/o timeout
Normal Pulling 23m (x43 over 3h58m) kubelet Pulling image "rayproject/ray:2.9.0"
Normal BackOff 3m2s (x938 over 3h57m) kubelet Back-off pulling image "rayproject/ray:2.9.0"
`
My question is how can I to config registry mirror when using Kind? The document says KIND uses docker container, while the docker do can pull these images with my own register-image:
`
`
additional information is that I can also pull this image via crictl as I configured registery-mirror for containerd:
`
`
The text was updated successfully, but these errors were encountered: