0

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

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

和输出

kubectl 获取 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"

请帮我解决这个问题。多谢。

4

0 回答 0