It looks like you're running an older version of Kubernetes that doesn't 
support RBAC. If that's the case, then install the dashboard version for 
your version, e.g.
  kubectl create -f https://git.io/kube-dashboard-no-rbac


On Tuesday, August 22, 2017 at 2:04:12 PM UTC+2, Venkatesh wrote:
>
> Hi All,
>
> After installed Kubernetes. I am unable to access the Dashboard. the 
> moment when I hit the master ip :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
>
>
> Please help me.
>
>
> Thanks,
> Venkatesh
>
>  
>
> Click here to Reply
>

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