What is Kubernetes Dashboard
Kubernetes Dashboard is a general purpose, web-based UI for Kubernetes clusters. It allows users to manage applications running in the cluster and troubleshoot them, as well as manage the cluster itself.
You can use Dashboard to deploy containerized applications to a Kubernetes cluster, troubleshoot your containerized application, and manage the cluster itself along with its attendant resources. You can use Dashboard to get an overview of applications running on your cluster, as well as for creating or modifying individual Kubernetes resources (such as Deployments, Jobs, DaemonSets, etc)
Pre-requisites
- Working Kubernetes Cluster ( Please refer my previous post (here) if required )
- Internet Access on the VM/Docker Host where you are deploying the dashboard
- In my case I will be deploying it on Master VM
Deployment
As per the documentation it pretty straight forward. Execute following command and if its meets all the checks it will download and install the dashboard
$ kubectl create -f https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml
However
If you try to install it on Photon OS it will not be able to download the Container and it will fail
It successfully create deployment and service
It will create POD however you will see the Status as ImagePullBackoff
Based on my limited understanding and analysis , this is due to the way it schedules and looks up the “apiserver”.
In my case it was scheduling on worker nodes and it was trying to lookup using localhost hence it was failing to download the container
Work Around
You will have to create local yaml file and Uncomment the line and specify –apiserver-host=http://my-address:port
$ kubectl create –f kubedashboard.yaml
Now you check the POD it will say status as Running
You can also validate Service and Deployment
Following are the docker containers it deploys
Now you should be able to access the dashboard http://masterip:8080/ui
References
- https://kubernetes.io/docs/user-guide/ui/
- https://github.com/kubernetes/dashboard
This post is really nice and informative. The explanation given is really comprehensive and informative.. Android Training in Chennai
Wonderful blog.. Thanks for sharing informative Post. Its very useful to me.Installment loansPayday loansTitle loans
Deployment command was not worked for me. I deployed following command kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml
I gather more information through this article, so please keep me informed of any update in this regard. For more relevant articles click on: how to recover deleted datacustom filedisk image softwareretrieve deleted files windowsdiskdiggerdiskdigger prousb drivedownload diskdigger
Thanks for sharing Valuable post useful for everyone.Docker Online TrainingKubernetes Online TrainingKubernetes Training in Hyderabad
Your blog is in a convincing manner, thanks for sharing such an information with lots of your effort and timeKubernetes online trainingKubernetes online course
This is my first time visit to your blog and I am very interested in the articles that you serve. Provide enough knowledge for me. Thank you for sharing useful and don't forget, keep sharing useful info:Devops Training in GurgaonDocker Kubernetes training in Gurgaon