centos安裝kubernets(三) 解決dashboard報錯解決

訪問http://121.201.29.62:8080/ui時報錯:docker

 

{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "no endpoints available for service \"kubernetes-dashboard\"",
  "reason": "ServiceUnavailable",
  "code": 503
}

 

 

以下圖api

不清楚是什麼緣由,查下dashboard pod的情況ui

[root@i-gocqtxn7 ~]# ./kubectl get pods --namespace kube-system
NAME                                    READY     STATUS              RESTARTS   AGE
kubernetes-dashboard-2131979702-3r49y   0/1       ContainerCreating   0          6mgoogle

 

[root@i-gocqtxn7 ~]# ./kubectl describe pod kubernetes-dashboard-2131979702-3r49y  --namespace kube-system
Name: kubernetes-dashboard-2131979702-3r49yspa

解決問題:.net

Docker pull lhcalibur/pause-amd64
docker tag lhcalibur/pause-amd64:latest gcr.io/google_containers/pause-amd64:3.0code

相關文章
相關標籤/搜索