在 kubernetes 中回退拉取镜像指标

时间:2021-04-03 16:34:53

标签: kubernetes kubernetes-dashboard containerd

我安装了 k8s 仪表板,如下为 github 仪表板地址。

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.2.0/aio/deploy/recommended.yaml

的输出 <块引用>

kubectl get pods --all-namespaces

kubernetes-dashboard   dashboard-metrics-scraper-79c5968bdc-64wl9   0/1     ImagePullBackOff   0          48m
kubernetes-dashboard   kubernetes-dashboard-9f9799597-w9cp9         1/1     Running            0          48m

kubectl describe pod 的输出是

  Normal   Scheduled  41m                 default-scheduler  Successfully assigned kubernetes-dashboard/dashboard-metrics-scraper-79c5968bdc-64wl9 to lab-vm
  Normal   Pulling    30m (x4 over 41m)   kubelet            Pulling image "kubernetesui/metrics-scraper:v1.0.6"
  Warning  Failed     27m (x7 over 37m)   kubelet            Error: ImagePullBackOff

  Warning  Failed     24m (x5 over 37m)   kubelet            Failed to pull image "kubernetesui/metrics-scraper:v1.0.6": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/kubernetesui/metrics-scraper:v1.0.6": failed to resolve reference "docker.io/kubernetesui/metrics-scraper:v1.0.6": unexpected status code [manifests v1.0.6]: 408 Request Time-out
  Warning  Failed     10m (x7 over 37m)   kubelet            Error: ErrImagePull
  Normal   BackOff    81s (x73 over 37m)  kubelet            Back-off pulling image "kubernetesui/metrics-scraper:v1.0.6"

请帮我解决这个问题。 非常感谢。

0 个答案:

没有答案