Un Dahboardable to access the Kubernete

85 views
Skip to first unread message

venkatesh

unread,
Aug 22, 2017, 8:04:12 AM8/22/17
to Kubernetes user discussion and Q&A
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

Rémon Sinnema

unread,
Aug 24, 2017, 12:59:13 AM8/24/17
to Kubernetes user discussion and Q&A
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.

kotipalli venkatesh

unread,
Aug 24, 2017, 5:13:31 AM8/24/17
to kubernet...@googlegroups.com
Hi Remon,

Kubernetes version is 1.5.2 

[root@kubernetesmaster ~]# kubectl --version
Kubernetes v1.5.2
[root@kubernetesmaster ~]#


which you provided the link also same getting error message

[root@kubernetesmaster ~]#  kubectl create -f https://git.io/kube-dashboard-no-rbac
Error from server (AlreadyExists): error when creating "https://git.io/kube-dashboard-no-rbac": deployments.extensions "kubernetes-dashboard" already exists
Error from server (AlreadyExists): error when creating "https://git.io/kube-dashboard-no-rbac": services "kubernetes-dashboard" already exists


I checked in current directory no file with the name of kubernetes-dashboard. then why we are getting an error message?

Help on this, almost I am working 3 days on this issue. still the issue is open.



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/pUn__bEkSek/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kubernetes-users+unsubscribe@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.

Rémon Sinnema

unread,
Aug 25, 2017, 12:45:37 AM8/25/17
to Kubernetes user discussion and Q&A
The "already exists" errors is because you've previously tried to create the dashboard. You should delete it first, then try again.
To unsubscribe from this group and all its topics, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.

kotipalli venkatesh

unread,
Aug 26, 2017, 3:28:18 AM8/26/17
to kubernet...@googlegroups.com
Hi 

how to delete the dashboard file. the current directory I checked there is no dashboard file. please how can I search the dashboard file,

Thanks,
Venkatesh

To unsubscribe from this group and all its topics, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages