访问http://121.201.29.62:8080/ui时报错:

 

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

 

 

 

如下图

Center

不清楚是什么原因,查下dashboard pod的状况

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

 

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

解决问题:

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

CenterCenterCenter

 

GitHub 加速计划 / da / dashboard
10
2
下载
General-purpose web UI for Kubernetes clusters
最近提交(Master分支:4 个月前 )
0ba796d9 Added important notice about project status and alternatives. Signed-off-by: Sebastian Florek <s.florek91@gmail.com> 13 天前
49406263 * chore(chart): release 7.14.0 * chore(code): fix lint * chore(go): bump Go version to 1.24.0 and update module dependencies * chore(go): update used go version to 1.24.0 * chore(docker): update base image to golang:1.24-alpine3.22 across all Dockerfiles 2 个月前
Logo

AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。

更多推荐