This works for me, $kubectl create -f https://git.io/kube-dashboard $kubectl proxy
Also, I am not sure why you get the dashboard already exists. Check if the dashboard has already been created by doing, $kubectl get pods --namespace=kube-system On Tuesday, 22 August 2017 07:50:27 UTC-4, Venkatesh wrote: > Hi All, > > After installed Kubernetes. I am unable to access the Dashboard. the moment > when I hit the masterip:8080/ui in the browser, below is output we are getting > > > { > "kind": "Status", > "apiVersion": "v1", > "metadata": {}, > "status": "Failure", > "message": "no endpoints available for service \"kubernetes-dashboard\"", > "reason": "ServiceUnavailable", > "code": 503 > } > > > Also unable to download the kubectl create -f > https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml > file > > output: [root@kubernetesmaster ~]# kubectl create -f > https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml > --validate=false > Error from server (AlreadyExists): error when creating > "https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml": > serviceaccounts "kubernetes-dashboard" already exists > Error from server (BadRequest): error when creating > "https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml": > ClusterRoleBinding in version "v1beta1" cannot be handled as a > ClusterRoleBinding: no kind "ClusterRoleBinding" is registered for version > "rbac.authorization.k8s.io/v1beta1" > Error from server (AlreadyExists): error when creating > "https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml": > deployments.extensions "kubernetes-dashboard" already exists > Error from server (AlreadyExists): error when creating > "https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml": > services "kubernetes-dashboard" already exists > > > Thanks, > Venkatesh -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.