Thursday, March 16, 2017

Kubernetes Dashboard on VMware PhotonOS

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)


  • 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


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


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




  1. This post is really nice and informative. The explanation given is really comprehensive and informative..

    Android Training in Chennai


  2. Wonderful blog.. Thanks for sharing informative Post. Its very useful to me.

    Installment loans
    Payday loans
    Title loans

  3. Deployment command was not worked for me. I deployed following command kubectl apply -f