Unable to access kubernetes dashboard

+1 vote
I’ve installed kubernetes cluster, It got installed without any errors or warnings.

But the problem is I’m unable to access the dashboard.

I did kubectl create -f https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml and when i go to https://192.168.11.20/ui is nothing there.

What do I do?
Aug 27, 2018 in Kubernetes by lina
• 8,190 points
373 views
It seems you are trying to access dashboard on private ip which is not accessible.So i believe you need to use ssh tunneling for this.Could you pls elaborate more on what platform are you trying to run this k8s cluster

I have the cluster set up on Linux. I followed this article: https://www.edureka.co/blog/install-kubernetes-on-ubuntu

Thank you @Manish for your response.

I have created a kube cluster in Ubuntu. One master node and one worker node. I have deployed the dashboard on the master node. I have kube proxy as well. Now that I go to the browser(to that particular IP), I don't see the dashboard.

1 answer to this question.

0 votes
You’re trying to access a private IP. Try getting into the cluster and then access this IP.

Or use kubectl proxy to access the service that that runs outside the cluster, this will proxy  requests to your localhost port 8001 to the kubernetes API server.
answered Aug 27, 2018 by Kalgi
• 51,160 points

Related Questions In Kubernetes

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

unable to start Kubernetes due to so many open files in system

You can try the following steps: You can ...READ MORE

answered May 1, 2018 in Kubernetes by shubham
• 6,910 points
301 views
0 votes
1 answer

Not able to access kubernetes api from a pod in azure

Follow these steps Add --bind-address=0.0.0.0 option to the line https://github.com/kubernetes/kubernetes/blob/v1.2.0/docs/getting-started-guides/coreos/azure/cloud_config_templates/kubernetes-cluster-main-nodes-template.yml#L218  Created ...READ MORE

answered Aug 30, 2018 in Kubernetes by Kalgi
• 51,160 points
102 views
0 votes
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
4,366 views
+3 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 11, 2019 in Kubernetes by Kalgi
• 51,160 points

reshown Apr 12, 2019 by Kalgi 1,176 views
0 votes
1 answer

Not able to access the kubernetes dashboard

Have you executed this proxy command? kubectl proxy Try ...READ MORE

answered Oct 8, 2018 in Kubernetes by Kalgi
• 51,160 points
183 views
0 votes
1 answer

Unable to run Kubernetes on rancher cluster

switch Docker to 1.12.x; Kubernetes doesn't support ...READ MORE

answered Aug 28, 2018 in Kubernetes by Kalgi
• 51,160 points
221 views