我有一个来自 https://artifacthub.io/packages/helm/argo/argo-cd 的 argocd pod,它处于长期挂起状态。其他 pod 很容易进入运行状态,而这个特定的 pod:argocd-dex-server-668d5dd779-mw89l 似乎在慢慢来。已经20m了,还是pending状态
我尝试用
kubectl describe
调试它,根据事件,似乎没有什么问题。这里可能是什么情况?
Normal Scheduled 8m54s default-scheduler Successfully assigned gitops/argocd-dex-server-668d5dd779-mw89l to minikube
Normal Pulling 8m44s kubelet Pulling image "quay.io/argoproj/argocd:v2.6.7"
Normal Pulled 3m25s kubelet Successfully pulled image "quay.io/argoproj/argocd:v2.6.7" in 5m18.897752634s
Normal Created 3m25s kubelet Created container copyutil
Normal Started 3m24s kubelet Started container copyutil
Normal Pulling 3m24s kubelet Pulling image "ghcr.io/dexidp/dex:v2.35.3"
看起来你的镜像还没有被拉取。当您仔细查看 describe 命令的输出时,您会发现
"Pulling image "ghcr.io/dexidp/dex:v2.35.3"
之后的状态从未切换到 "Successfully pulled image "ghcr.io/dexidp/dex:v2.35.3" in xxx"
.
另外,拉取 argocd 镜像用了 5 分 18 秒。这是一段异常漫长的时间。检查你的带宽。