gpt4 book ai didi

azure - K8s错误: ImagePullBackOff || read: connection refused

转载 作者:行者123 更新时间:2023-12-02 01:30:04 25 4
gpt4 key购买 nike

在部署我们为 Pod 获取 ImagePullBackOff 时,您能否提供帮助。

正在运行kubectl get <pod-name> -n namespace -o yaml出现以下错误。

containerStatuses:
- image: mycontainer-registry.io/company/my-app:1.0.0-integration-62c7e30532bd430477731a01a962372166fd5644
imageID: ""
lastState: {}
name: dmd-base
ready: false
restartCount: 0
started: false
state:
waiting:
message: Back-off pulling image "mycontainer-registry.io/company/my-app:1.0.0-integration-62c7e30532bd430477731a01a962372166fd5644"
reason: ImagePullBackOff
hostIP: x.x.x.53
phase: Pending
podIP: x.x.x.237

并且正在运行kubectl describe pod <pod-name> -n namespace我收到以下错误信息

  Normal   Scheduled  85m                  default-scheduler  Successfully assigned dmd-int/app-app-base-5b4b75756c-lrcp6 to aks-agentpool-35064155-vmss00000a
Warning Failed 85m kubelet Failed to pull image "mycontainer-registry.io/company/my-app:1.0.0-integration-62c7e30532bd430477731a01a962372166fd5644":
[rpc error: code = Unknown desc = failed to pull and unpack image "mycontainer-registry.io/company/my-app:1.0.0-integration-62c7e30532bd430477731a01a962372166fd5644":
failed to resolve reference "mycontainer-registry.io/commpany/my-app:1.0.0-integration-62c7e30532bd430477731a01a962372166fd5644":
failed to do request: Head "https://mycontainer-registry.azurecr.io/v2/company/my-app/manifests/1.0.0-integration-62c7e30532bd430477731a01a962372166fd5644":
dial tcp: lookup mycontainer-registry.azurecr.io on [::1]:53: read udp [::1]:56109->[::1]:53: read: connection refused,
rpc error: code = Unknown desc = failed to pull and unpack image "mycontainer-registry.io/company/my-app:1.0.0-integration-62c7e30532bd430477731a01a962372166fd5644":
failed to resolve reference "mycontainer-registry.io/company/my-app:1.0.0-integration-62c7e30532bd430477731a01a962372166fd5644":
failed to do request: Head "https://mycontainer-registry.io/v2/company/my-app/manifests/1.0.0-integration-62c7e30532bd430477731a01a962372166fd5644":
dial tcp: lookup mycontainer-registry.io on [::1]:53: read udp [::1]:60759->[::1]:53: read: connection refused]`

从描述的日志中,我可以看到问题出在连接上,但我无法判断连接问题出在哪里,我们在 Azure 上的 Kubernetes 集群中运行应用程序。

如果有人遇到此问题,您能否协助该应用程序在过去几个月中一直成功运行,我们今天早上才收到此问题。

最佳答案

今天多个区域出现已知的 Azure 中断。一些 DNS 问题也会影响图像拉取。 https://status.azure.com/en-us/status

关于azure - K8s错误: ImagePullBackOff || read: connection refused,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73540128/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com