Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot open dashboard on https://172.17.8.101:8443 #97

Closed
birdmanmandbir opened this issue Dec 9, 2020 · 4 comments
Closed

Cannot open dashboard on https://172.17.8.101:8443 #97

birdmanmandbir opened this issue Dec 9, 2020 · 4 comments

Comments

@birdmanmandbir
Copy link

Environment

  • OS:Ubuntu 18.04
  • Kubernetes version:1.15
  • VirtualBox version:5.2
  • Vagrant version:2.2.4

What I did?

I successfully deploy this cluster

Messages

when I visit https://172.17.8.101:8443 on the host, the browser return 500 internal error

@birdmanmandbir
Copy link
Author

maybe this is related to #96

@birdmanmandbir
Copy link
Author

According to the install.sh, the dashboard is deployed on node3,

I try something like this:
On node3 use
kubectl proxy --port=8443 --accept-hosts='^.*' --address='172.17.8.103' Starting to serve on 172.17.8.103:8443
and for
curl 172.17.8.103:8443/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/#/overview?namespace=default
the result is

{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {
    
  },
  "status": "Failure",
  "message": "services \"kubernetes-dashboard\" not found",
  "reason": "NotFound",
  "details": {
    "name": "kubernetes-dashboard",
    "kind": "services"
  },
  "code": 404
}

@birdmanmandbir
Copy link
Author

birdmanmandbir commented Dec 9, 2020

I try this:
kubectl -n kube-system describe pod kubernetes-dashboard-55cf6d9484-sk4sx
the status of dashboard is:

Name:           kubernetes-dashboard-55cf6d9484-sk4sx
Namespace:      kube-system
Node:           node1/172.17.8.101
Start Time:     Thu, 10 Dec 2020 00:58:54 +0800
Labels:         k8s-app=kubernetes-dashboard
                pod-template-hash=55cf6d9484
Annotations:    <none>
Status:         Pending
IP:             172.17.8.101
Controlled By:  ReplicaSet/kubernetes-dashboard-55cf6d9484
........
Events:
  Type     Reason                  Age                 From               Message
  ----     ------                  ----                ----               -------
  Normal   Scheduled               16m                 default-scheduler  Successfully assigned kube-system/kubernetes-dashboard-55cf6d9484-sk4sx to node1
  Warning  FailedCreatePodSandBox  66s (x37 over 16m)  kubelet, node1     Failed create pod sandbox: rpc error: code = Unknown desc = failed pulling image "jimmysong/pause-amd64:3.0": error pulling image configuration: unknown blob

maybe there are some trouble with this image jimmysong/pause-amd64:3.0

@birdmanmandbir
Copy link
Author

Oh I didn't config the docker mirror registry, I'll close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant