我正在使用 Kind 从本地存储库部署 docker 映像。我关注了https://medium.com/swlh/how-to-run-locally-built-docker-images-in-kubernetes-b28fbc32cc1d上的文章并设置了本地存储库。一旦我尝试部署 k8s 部署,我在 pod 上看到以下错误
Normal Scheduled 9s default-scheduler Successfully assigned default/chatt-deployment-675c8dd456-m25mm to kind-control-plane
Normal Pulling 8s kubelet Pulling image "localhost:5000/chatt:latest"
Warning Failed 8s kubelet Failed to pull image "localhost:5000/chatt:latest": rpc error: code = Unknown desc = failed to pull and unpack image "localhost:5000/chatt:latest": failed to resolve reference "localhost:5000/chatt:latest": failed to do request: Head "http://kind-registry:5000/v2/chatt/manifests/latest?ns=localhost%3A5000": proxyconnect tcp: dial tcp [::1]:3128: connect: connection refused
Warning Failed 8s kubelet Error: ErrImagePull
Normal BackOff 7s kubelet Back-off pulling image "localhost:5000/chatt:latest"
Warning Failed 7s kubelet Error: ImagePullBackOff
你知道我怎么能解决这个问题。