Hi Adhita,

Thank you so much for your reply.

[root@kubernetesmaster ~]# kubectl get pods --namespace=kube-system
No resources found.
[root@kubernetesmaster ~]#


[root@kubernetesmaster ~]# kubectl proxy
Starting to serve on 127.0.0.1:8001


In browser check the Dashboard, still, I am getting the same error.

{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "no endpoints available for service \"kubernetes-dashboard\"",
  "reason": "ServiceUnavailable",
  "code": 503
}


Thanks,
Venkatesh

On Wed, Aug 23, 2017 at 6:33 PM, <adhit...@gmail.com> wrote:

> 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 a topic in the
> Google Groups "Kubernetes user discussion and Q&A" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/kubernetes-users/mmvW56cZmb0/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>

-- 
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.

Reply via email to