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,220 points
2,999 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.

Ready to master the future of cloud computing? Enroll now in our Kubernetes Certification! Gain hands-on expertise in container orchestration, scale applications effortlessly, and streamline deployment workflows with Kubernetes.

answered Aug 27, 2018 by Kalgi
• 52,350 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
• 7,340 points
2,109 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
• 52,350 points
1,034 views
+1 vote
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
15,577 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,062 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
• 52,350 points
1,666 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
• 52,350 points
1,410 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP