K3S集群正在收集公共码头枢纽图像。在本例中,我将使用linuxserver/webtop来显示错误
Failed to pull image "linuxserver/webtop": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/linuxserver/webtop:latest": failed to copy: httpReaderSeeker: failed open: failed to do request: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/93/935ea2a17ae86691c14df443e21f3c69a6f75609894f8cfe9378b66e39c0d752/data?verify=1634025162-%2Bc4663u0w0ArAbfgBm4aFRfJUh4%3D": dial tcp: lookup production.cloudflare.docker.com: no such host我已经找到了许多类似的线程,但它们都是专门用于试图拉出私人图像,这就造成了这个问题。所以,虽然可能是相关的,但我认为这是另一回事。
我确实认为这可能与码头枢纽站点的速率限制有关,但我已经尝试使用码头拉从所有节点中直接提取图像,而且效果很好,所以问题似乎在其他地方。
我尝试过将我的停靠凭证添加到使用imagePullSecrets的部署中:但是它没有解决。
由于错误,我觉得值得一提的是,在节点上,我使用1.1.1.1作为dns
如果有人知道会有什么问题,我们将不胜感激。
这里似乎也是断断续续的。
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 7m2s default-scheduler Successfully assigned default/dnstest-l6dh2 to node-3
Warning Failed 7m1s kubelet Failed to pull image "busybox:1.28": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/library/busybox:1.28": failed to resolve reference "docker.io/library/busybox:1.28": failed to do request: Head "https://registry-1.docker.io/v2/library/busybox/manifests/1.28": dial tcp: lookup registry-1.docker.io: no such host
Warning Failed 7m1s kubelet Error: ErrImagePull
Normal BackOff 7m1s kubelet Back-off pulling image "busybox:1.28"
Warning Failed 7m1s kubelet Error: ImagePullBackOff
Normal Pulling 6m49s (x2 over 7m2s) kubelet Pulling image "busybox:1.28"
Normal Pulled 6m47s kubelet Successfully pulled image "busybox:1.28" in 1.3937859s
Normal Created 6m47s kubelet Created container alpine
Normal Started 6m47s kubelet Started container alpine发布于 2022-07-24 23:25:29
我也有这个问题。我的问题是我有多条默认路径。
我在这里写了一整篇文章,
如果你能检查一下,并确认这也是你的问题所在,我将非常感谢。你没有给我太多的东西,但这和我所看到的100%一致。这个问题我花了一个星期才解决。
https://serverfault.com/questions/1080274
复制相似问题