The "already exists" errors is because you've previously tried to create 
the dashboard. You should delete it first, then try again.


On Thursday, August 24, 2017 at 11:13:31 AM UTC+2, Venkatesh wrote:
>
> 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
>
>
>
> On Thu, Aug 24, 2017 at 10:29 AM, Rémon Sinnema <rsin...@gmail.com 
> <javascript:>> wrote:
>
>> 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 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-use...@googlegroups.com <javascript:>.
>> To post to this group, send email to kubernet...@googlegroups.com 
>> <javascript:>.
>> 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