dashboard: Unable to open dashboard version v2.0.0-beta2

Environment
Installation method: kubeadm 
Kubernetes version: v1.15.1
Dashboard version: v2.0.0-beta2 
Operating system: centos 7
Node.js version ('node --version' output):
Go version ('go version' output):
Steps to reproduce

Deploy the dashboard :- kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta2/aio/deploy/recommended.yaml

kubectl proxy

Observed result

[root@localhost vagrant]# kubectl get pods --all-namespaces NAMESPACE NAME READY STATUS RESTARTS AGE kube-system coredns-749c59cd8d-c498f 1/1 Running 0 7m21s kube-system coredns-749c59cd8d-xnzsc 1/1 Running 0 7m21s kube-system etcd-localhost.localdomain 1/1 Running 0 8m26s kube-system kube-apiserver-localhost.localdomain 1/1 Running 0 8m44s kube-system kube-controller-manager-localhost.localdomain 1/1 Running 0 8m35s kube-system kube-flannel-ds-amd64-746gz 1/1 Running 0 8m30s kube-system kube-proxy-4tx9d 1/1 Running 0 9m21s kube-system kube-scheduler-localhost.localdomain 1/1 Running 0 8m34s kubernetes-dashboard dashboard-metrics-scraper-6ff95d79d8-qtzwg 1/1 Running 0 6m14s kubernetes-dashboard kubernetes-dashboard-75dc45f799-66wfm 1/1 Running 0 6m14s

Expected result

should be able to access dashboard from browser

http://192.168.33.14:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/

Comments

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

[root@localhost vagrant]# kubectl get services -n kubernetes-dashboard NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE dashboard-metrics-scraper ClusterIP 10.103.20.66 8000/TCP 6m20s kubernetes-dashboard NodePort 10.99.112.120 443:31559/TCP 6m20s

when exposed to nodeport got following error on browser. Client sent an HTTP request to an HTTPS server.

can you please share any document for dashboard if present.

  • Could your problem be solved, I have encountered the same problem now?